Skip to content

Commit

Permalink
quick fix for #43
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi committed Nov 4, 2021
1 parent 981ad26 commit 7e8766c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions BlenderUpdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

app.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)

appversion = "1.9.8"
appversion = "1.9.9"
dir_ = ""
config = configparser.ConfigParser()
btn = {}
Expand Down Expand Up @@ -316,7 +316,7 @@ def check(self):
soup = BeautifulSoup(req.text, "html.parser")

def clean(text):
""" Removes spaces and uneeded characters from the given text. """
"""Removes spaces and uneeded characters from the given text."""

return text.strip().strip("\xa0")

Expand Down
26 changes: 13 additions & 13 deletions 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 5.15.1
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
Expand All @@ -18,14 +18,14 @@ class Ui_MainWindow(object):
def setupUi(self, MainWindow):
if not MainWindow.objectName():
MainWindow.setObjectName(u"MainWindow")
MainWindow.resize(700, 550)
MainWindow.resize(700, 700)
sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setMinimumSize(QSize(700, 550))
MainWindow.setMaximumSize(QSize(700, 550))
MainWindow.setMinimumSize(QSize(700, 700))
MainWindow.setMaximumSize(QSize(700, 700))
icon = QIcon()
icon.addFile(u":/newPrefix/images/appicon.png", QSize(), QIcon.Normal, QIcon.Off)
MainWindow.setWindowIcon(icon)
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, 481, 131, 35))
self.btn_Quit.setGeometry(QRect(6, 631, 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, 481, 131, 35))
self.btn_Check.setGeometry(QRect(560, 631, 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,14 +51,14 @@ def setupUi(self, MainWindow):
self.progressBar = QProgressBar(self.centralwidget)
self.progressBar.setObjectName(u"progressBar")
self.progressBar.setEnabled(True)
self.progressBar.setGeometry(QRect(140, 431, 551, 30))
self.progressBar.setGeometry(QRect(140, 581, 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, 435, 121, 20))
self.lbl_task.setGeometry(QRect(10, 585, 121, 20))
self.lbl_task.setStyleSheet(u"")
self.lbl_available = QLabel(self.centralwidget)
self.lbl_available.setObjectName(u"lbl_available")
Expand Down Expand Up @@ -104,7 +104,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, 435, 24, 24))
self.btn_cancel.setGeometry(QRect(110, 585, 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 +141,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, 455, 307, 61))
self.btngrp_filter.setGeometry(QRect(200, 605, 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 +177,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, 480, 191, 35))
self.btn_oneclick.setGeometry(QRect(260, 630, 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, 460, 131, 20))
self.lbl_quick.setGeometry(QRect(290, 610, 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 +203,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, 480, 191, 40))
self.btn_execute.setGeometry(QRect(260, 630, 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: 12 additions & 12 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>550</height>
<height>700</height>
</rect>
</property>
<property name="sizePolicy">
Expand All @@ -19,13 +19,13 @@
<property name="minimumSize">
<size>
<width>700</width>
<height>550</height>
<height>700</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>700</width>
<height>550</height>
<height>700</height>
</size>
</property>
<property name="windowTitle">
Expand All @@ -43,7 +43,7 @@
<property name="geometry">
<rect>
<x>6</x>
<y>481</y>
<y>631</y>
<width>131</width>
<height>35</height>
</rect>
Expand All @@ -66,7 +66,7 @@
<property name="geometry">
<rect>
<x>560</x>
<y>481</y>
<y>631</y>
<width>131</width>
<height>35</height>
</rect>
Expand Down Expand Up @@ -95,7 +95,7 @@
<property name="geometry">
<rect>
<x>140</x>
<y>431</y>
<y>581</y>
<width>551</width>
<height>30</height>
</rect>
Expand All @@ -117,7 +117,7 @@
<property name="geometry">
<rect>
<x>10</x>
<y>435</y>
<y>585</y>
<width>121</width>
<height>20</height>
</rect>
Expand Down Expand Up @@ -274,7 +274,7 @@
<property name="geometry">
<rect>
<x>110</x>
<y>435</y>
<y>585</y>
<width>24</width>
<height>24</height>
</rect>
Expand Down Expand Up @@ -417,7 +417,7 @@
<property name="geometry">
<rect>
<x>200</x>
<y>455</y>
<y>605</y>
<width>307</width>
<height>61</height>
</rect>
Expand Down Expand Up @@ -530,7 +530,7 @@
<property name="geometry">
<rect>
<x>260</x>
<y>480</y>
<y>630</y>
<width>191</width>
<height>35</height>
</rect>
Expand All @@ -553,7 +553,7 @@
<property name="geometry">
<rect>
<x>290</x>
<y>460</y>
<y>610</y>
<width>131</width>
<height>20</height>
</rect>
Expand Down Expand Up @@ -626,7 +626,7 @@
<property name="geometry">
<rect>
<x>260</x>
<y>480</y>
<y>630</y>
<width>191</width>
<height>40</height>
</rect>
Expand Down

0 comments on commit 7e8766c

Please sign in to comment.