Skip to content

Commit

Permalink
quick fix for #48 - make window bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi committed Aug 2, 2022
1 parent 1773493 commit 59fa8be
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 25 deletions.
23 changes: 11 additions & 12 deletions mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(700, 700)
MainWindow.resize(700, 800)
sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setMinimumSize(QSize(700, 700))
MainWindow.setMinimumSize(QSize(700, 800))
MainWindow.setMaximumSize(QSize(700, 700))
icon = QIcon()
icon.addFile(u":/newPrefix/images/appicon.png", QSize(), QIcon.Normal, QIcon.Off)
Expand All @@ -34,15 +34,15 @@ def setupUi(self, MainWindow):
self.centralwidget.setObjectName(u"centralwidget")
self.btn_Quit = QPushButton(self.centralwidget)
self.btn_Quit.setObjectName(u"btn_Quit")
self.btn_Quit.setGeometry(QRect(6, 631, 131, 35))
self.btn_Quit.setGeometry(QRect(6, 730, 131, 35))
self.btn_Quit.setFocusPolicy(Qt.StrongFocus)
self.btn_Quit.setStyleSheet(u"")
icon1 = QIcon()
icon1.addFile(u":/newPrefix/images/Application-exit-icon.png", QSize(), QIcon.Normal, QIcon.Off)
self.btn_Quit.setIcon(icon1)
self.btn_Check = QPushButton(self.centralwidget)
self.btn_Check.setObjectName(u"btn_Check")
self.btn_Check.setGeometry(QRect(560, 631, 131, 35))
self.btn_Check.setGeometry(QRect(560, 730, 131, 35))
self.btn_Check.setStyleSheet(u"")
icon2 = QIcon()
icon2.addFile(u":/newPrefix/images/Refresh-icon.png", QSize(), QIcon.Normal, QIcon.Off)
Expand All @@ -51,21 +51,20 @@ def setupUi(self, MainWindow):
self.progressBar = QProgressBar(self.centralwidget)
self.progressBar.setObjectName(u"progressBar")
self.progressBar.setEnabled(True)
self.progressBar.setGeometry(QRect(140, 581, 551, 30))
self.progressBar.setGeometry(QRect(140, 680, 551, 30))
self.progressBar.setStyleSheet(u"")
self.progressBar.setValue(24)
self.progressBar.setTextVisible(True)
self.progressBar.setInvertedAppearance(False)
self.lbl_task = QLabel(self.centralwidget)
self.lbl_task.setObjectName(u"lbl_task")
self.lbl_task.setGeometry(QRect(10, 585, 121, 20))
self.lbl_task.setGeometry(QRect(10, 684, 121, 20))
self.lbl_task.setStyleSheet(u"")
self.lbl_available = QLabel(self.centralwidget)
self.lbl_available.setObjectName(u"lbl_available")
self.lbl_available.setGeometry(QRect(6, 25, 645, 20))
font = QFont()
font.setBold(True)
font.setWeight(75)
self.lbl_available.setFont(font)
self.lbl_available.setAlignment(Qt.AlignCenter)
self.btn_about = QToolButton(self.centralwidget)
Expand Down Expand Up @@ -104,7 +103,7 @@ def setupUi(self, MainWindow):
self.label.setWordWrap(True)
self.btn_cancel = QPushButton(self.centralwidget)
self.btn_cancel.setObjectName(u"btn_cancel")
self.btn_cancel.setGeometry(QRect(110, 585, 24, 24))
self.btn_cancel.setGeometry(QRect(110, 684, 24, 24))
icon5 = QIcon()
icon5.addFile(u":/newPrefix/images/Cancel-icon.png", QSize(), QIcon.Normal, QIcon.Off)
self.btn_cancel.setIcon(icon5)
Expand Down Expand Up @@ -141,7 +140,7 @@ def setupUi(self, MainWindow):
self.lbl_cleanup.setGeometry(QRect(70, 140, 171, 24))
self.btngrp_filter = QGroupBox(self.centralwidget)
self.btngrp_filter.setObjectName(u"btngrp_filter")
self.btngrp_filter.setGeometry(QRect(200, 605, 307, 61))
self.btngrp_filter.setGeometry(QRect(200, 704, 307, 61))
self.btn_osx = QToolButton(self.btngrp_filter)
self.btn_osx.setObjectName(u"btn_osx")
self.btn_osx.setGeometry(QRect(227, 30, 75, 23))
Expand Down Expand Up @@ -177,14 +176,14 @@ def setupUi(self, MainWindow):
self.btn_linux.setAutoExclusive(True)
self.btn_oneclick = QPushButton(self.centralwidget)
self.btn_oneclick.setObjectName(u"btn_oneclick")
self.btn_oneclick.setGeometry(QRect(260, 630, 191, 35))
self.btn_oneclick.setGeometry(QRect(260, 729, 191, 35))
self.btn_oneclick.setStyleSheet(u"")
icon9 = QIcon()
icon9.addFile(u":/newPrefix/images/Actions-quickopen-icon.png", QSize(), QIcon.Normal, QIcon.Off)
self.btn_oneclick.setIcon(icon9)
self.lbl_quick = QLabel(self.centralwidget)
self.lbl_quick.setObjectName(u"lbl_quick")
self.lbl_quick.setGeometry(QRect(290, 610, 131, 20))
self.lbl_quick.setGeometry(QRect(290, 709, 131, 20))
self.lbl_quick.setAlignment(Qt.AlignCenter)
self.lbl_caution = QLabel(self.centralwidget)
self.lbl_caution.setObjectName(u"lbl_caution")
Expand All @@ -203,7 +202,7 @@ def setupUi(self, MainWindow):
self.btn_newVersion.setChecked(False)
self.btn_execute = QPushButton(self.centralwidget)
self.btn_execute.setObjectName(u"btn_execute")
self.btn_execute.setGeometry(QRect(260, 630, 191, 40))
self.btn_execute.setGeometry(QRect(260, 729, 191, 40))
self.btn_execute.setStyleSheet(u"")
icon11 = QIcon()
icon11.addFile(u":/newPrefix/images/Blender-icon.png", QSize(), QIcon.Normal, QIcon.Off)
Expand Down
24 changes: 11 additions & 13 deletions mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>700</width>
<height>700</height>
<height>800</height>
</rect>
</property>
<property name="sizePolicy">
Expand All @@ -19,7 +19,7 @@
<property name="minimumSize">
<size>
<width>700</width>
<height>700</height>
<height>800</height>
</size>
</property>
<property name="maximumSize">
Expand All @@ -43,7 +43,7 @@
<property name="geometry">
<rect>
<x>6</x>
<y>631</y>
<y>730</y>
<width>131</width>
<height>35</height>
</rect>
Expand All @@ -66,7 +66,7 @@
<property name="geometry">
<rect>
<x>560</x>
<y>631</y>
<y>730</y>
<width>131</width>
<height>35</height>
</rect>
Expand Down Expand Up @@ -95,7 +95,7 @@
<property name="geometry">
<rect>
<x>140</x>
<y>581</y>
<y>680</y>
<width>551</width>
<height>30</height>
</rect>
Expand All @@ -117,7 +117,7 @@
<property name="geometry">
<rect>
<x>10</x>
<y>585</y>
<y>684</y>
<width>121</width>
<height>20</height>
</rect>
Expand All @@ -140,7 +140,6 @@
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -274,7 +273,7 @@
<property name="geometry">
<rect>
<x>110</x>
<y>585</y>
<y>684</y>
<width>24</width>
<height>24</height>
</rect>
Expand Down Expand Up @@ -417,7 +416,7 @@
<property name="geometry">
<rect>
<x>200</x>
<y>605</y>
<y>704</y>
<width>307</width>
<height>61</height>
</rect>
Expand Down Expand Up @@ -530,7 +529,7 @@
<property name="geometry">
<rect>
<x>260</x>
<y>630</y>
<y>729</y>
<width>191</width>
<height>35</height>
</rect>
Expand All @@ -553,7 +552,7 @@
<property name="geometry">
<rect>
<x>290</x>
<y>610</y>
<y>709</y>
<width>131</width>
<height>20</height>
</rect>
Expand All @@ -576,7 +575,6 @@
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -626,7 +624,7 @@
<property name="geometry">
<rect>
<x>260</x>
<y>630</y>
<y>729</y>
<width>191</width>
<height>40</height>
</rect>
Expand Down

0 comments on commit 59fa8be

Please sign in to comment.