Skip to content

Commit

Permalink
Merge pull request #47 from locaal-ai/roy.translation_ui_snap_bugfix
Browse files Browse the repository at this point in the history
Update version number in scoresight.spec and MainWindow dimensions in…
  • Loading branch information
royshil authored Oct 20, 2024
2 parents 85c3dc4 + 50c4cf0 commit 4e2b765
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- os: macos-x86
python-version: '3.11'
target: macos-x86
runs-on: macos-12
runs-on: macos-13
- os: macos-arm64
python-version: '3.11'
target: macos-arm64
Expand Down
2 changes: 1 addition & 1 deletion scoresight.spec
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ elif args.mac_osx:
name='scoresight.app',
icon='icons/MacOS_icon.png',
bundle_identifier='com.royshilkrot.scoresight',
version='0.0.1',
version='0.0.17',
info_plist={
'NSPrincipalClass': 'NSApplication',
'NSAppleScriptEnabled': False,
Expand Down
34 changes: 30 additions & 4 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>949</width>
<height>736</height>
<width>963</width>
<height>733</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -160,6 +160,7 @@
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand All @@ -179,6 +180,7 @@
<property name="font">
<font>
<pointsize>14</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -520,6 +522,21 @@
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_16">
<property name="spacing">
<number>3</number>
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>5</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_6">
<property name="sizePolicy">
Expand All @@ -535,9 +552,18 @@
</item>
<item>
<widget class="QLabel" name="label_selectedInfo">
<property name="maximumSize">
<size>
<width>110</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Select an item above</string>
</property>
<property name="textInteractionFlags">
<set>Qt::NoTextInteraction</set>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -2215,8 +2241,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>949</width>
<height>20</height>
<width>963</width>
<height>21</height>
</rect>
</property>
</widget>
Expand Down
2 changes: 1 addition & 1 deletion src/ui_about.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'about.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_connect_obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'connect_obs.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_log_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'log_view.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
10 changes: 7 additions & 3 deletions src/ui_mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -27,7 +27,7 @@ class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(949, 736)
MainWindow.resize(963, 733)
self.centralwidget = QWidget(MainWindow)
self.centralwidget.setObjectName(u"centralwidget")
self.horizontalLayout_31 = QHBoxLayout(self.centralwidget)
Expand Down Expand Up @@ -265,7 +265,9 @@ def setupUi(self, MainWindow):
sizePolicy3.setHeightForWidth(self.widget_10.sizePolicy().hasHeightForWidth())
self.widget_10.setSizePolicy(sizePolicy3)
self.horizontalLayout_16 = QHBoxLayout(self.widget_10)
self.horizontalLayout_16.setSpacing(3)
self.horizontalLayout_16.setObjectName(u"horizontalLayout_16")
self.horizontalLayout_16.setContentsMargins(5, 0, 5, 0)
self.label_6 = QLabel(self.widget_10)
self.label_6.setObjectName(u"label_6")
sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
Expand All @@ -275,6 +277,8 @@ def setupUi(self, MainWindow):

self.label_selectedInfo = QLabel(self.widget_10)
self.label_selectedInfo.setObjectName(u"label_selectedInfo")
self.label_selectedInfo.setMaximumSize(QSize(110, 16777215))
self.label_selectedInfo.setTextInteractionFlags(Qt.NoTextInteraction)

self.horizontalLayout_16.addWidget(self.label_selectedInfo)

Expand Down Expand Up @@ -1150,7 +1154,7 @@ def setupUi(self, MainWindow):
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QMenuBar(MainWindow)
self.menubar.setObjectName(u"menubar")
self.menubar.setGeometry(QRect(0, 0, 949, 20))
self.menubar.setGeometry(QRect(0, 0, 963, 21))
MainWindow.setMenuBar(self.menubar)

self.retranslateUi(MainWindow)
Expand Down
2 changes: 1 addition & 1 deletion src/ui_ocr_training_data_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'ocr_training_data_dialog.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_screen_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'screen_capture.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_training_dojo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'training_dojo.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_update_available.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'update_available.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_url_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'url_source.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down
2 changes: 1 addition & 1 deletion src/ui_video_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
################################################################################
## Form generated from reading UI file 'video_settings.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
## Created by: Qt User Interface Compiler version 6.7.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand Down

0 comments on commit 4e2b765

Please sign in to comment.