This commit is contained in:
VFX - Visual Effects
2021-03-30 09:52:50 -03:00
parent 9518abad60
commit 270192ef7d
4 changed files with 32 additions and 10 deletions

View File

@@ -631,7 +631,7 @@ Button */
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
@@ -1527,7 +1527,7 @@ p, li { white-space: pre-wrap; }
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
@@ -2151,7 +2151,7 @@ background-repeat: no-repeat;</string>
<rect>
<x>0</x>
<y>0</y>
<width>353</width>
<width>218</width>
<height>218</height>
</rect>
</property>
@@ -2998,7 +2998,7 @@ background-repeat: no-repeat;</string>
<item>
<widget class="QLabel" name="version">
<property name="text">
<string>v1.0.0</string>
<string>v1.0.1</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

View File

@@ -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;")

View File

@@ -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

23
setup.py Normal file
View File

@@ -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]
)