diff --git a/main.ui b/main.ui index 1a4814b..9b42e33 100644 --- a/main.ui +++ b/main.ui @@ -631,7 +631,7 @@ Button */ - QFrame::StyledPanel + QFrame::NoFrame QFrame::Raised @@ -1527,7 +1527,7 @@ p, li { white-space: pre-wrap; } - QFrame::StyledPanel + QFrame::NoFrame QFrame::Raised @@ -2151,7 +2151,7 @@ background-repeat: no-repeat; 0 0 - 353 + 218 218 @@ -2998,7 +2998,7 @@ background-repeat: no-repeat; - v1.0.0 + v1.0.1 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/modules/app_functions.py b/modules/app_functions.py index fd6e752..95d5e41 100644 --- a/modules/app_functions.py +++ b/modules/app_functions.py @@ -39,4 +39,3 @@ class AppFunctions(MainWindow): self.ui.horizontalScrollBar.setStyleSheet("background-color: #6272a4;") self.ui.verticalScrollBar.setStyleSheet("background-color: #6272a4;") self.ui.commandLinkButton.setStyleSheet("color: #ff79c6;") - \ No newline at end of file diff --git a/modules/ui_main.py b/modules/ui_main.py index 8389823..8619dde 100644 --- a/modules/ui_main.py +++ b/modules/ui_main.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ################################################################################ -## Form generated from reading UI file 'mainCfHEbC.ui' +## Form generated from reading UI file 'mainTxlWnG.ui' ## ## Created by: Qt User Interface Compiler version 6.0.2 ## @@ -575,7 +575,7 @@ class Ui_MainWindow(object): self.topLogoInfo.setObjectName(u"topLogoInfo") self.topLogoInfo.setMinimumSize(QSize(0, 50)) self.topLogoInfo.setMaximumSize(QSize(16777215, 50)) - self.topLogoInfo.setFrameShape(QFrame.StyledPanel) + self.topLogoInfo.setFrameShape(QFrame.NoFrame) self.topLogoInfo.setFrameShadow(QFrame.Raised) self.topLogo = QFrame(self.topLogoInfo) self.topLogo.setObjectName(u"topLogo") @@ -910,7 +910,7 @@ class Ui_MainWindow(object): sizePolicy1.setVerticalStretch(0) sizePolicy1.setHeightForWidth(self.leftBox.sizePolicy().hasHeightForWidth()) self.leftBox.setSizePolicy(sizePolicy1) - self.leftBox.setFrameShape(QFrame.StyledPanel) + self.leftBox.setFrameShape(QFrame.NoFrame) self.leftBox.setFrameShadow(QFrame.Raised) self.horizontalLayout_3 = QHBoxLayout(self.leftBox) self.horizontalLayout_3.setSpacing(0) @@ -1175,7 +1175,7 @@ class Ui_MainWindow(object): self.scrollArea.setWidgetResizable(True) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") - self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 353, 218)) + self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 218, 218)) self.scrollAreaWidgetContents.setStyleSheet(u" QScrollBar:vertical {\n" " border: none;\n" " background: rgb(52, 59, 72);\n" @@ -1655,6 +1655,6 @@ class Ui_MainWindow(object): self.btn_print.setText(QCoreApplication.translate("MainWindow", u"Print", None)) self.btn_logout.setText(QCoreApplication.translate("MainWindow", u"Logout", None)) self.creditsLabel.setText(QCoreApplication.translate("MainWindow", u"By: Wanderson M. Pimenta", None)) - self.version.setText(QCoreApplication.translate("MainWindow", u"v1.0.0", None)) + self.version.setText(QCoreApplication.translate("MainWindow", u"v1.0.1", None)) # retranslateUi diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3c21efc --- /dev/null +++ b/setup.py @@ -0,0 +1,23 @@ +import sys +import os +from cx_Freeze import setup, Executable + +# ADD FILES +files = ['icon.ico','themes/'] + +# TARGET +target = Executable( + script="main.py", + base="Win32GUI", + icon="icon.ico" +) + +# SETUP CX FREEZE +setup( + name = "PyDracula", + version = "1.0", + description = "Modern GUI for Python applications", + author = "Wanderson M. Pimenta", + options = {'build_exe' : {'include_files' : files}}, + executables = [target] +) \ No newline at end of file