-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsplashUI_dark.py
129 lines (122 loc) · 5.38 KB
/
splashUI_dark.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'splashUI_dark.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_SplashScreen(object):
def setupUi(self, SplashScreen):
SplashScreen.setObjectName("SplashScreen")
SplashScreen.resize(700, 400)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(SplashScreen.sizePolicy().hasHeightForWidth())
SplashScreen.setSizePolicy(sizePolicy)
SplashScreen.setMinimumSize(QtCore.QSize(700, 400))
SplashScreen.setMaximumSize(QtCore.QSize(700, 400))
SplashScreen.setSizeIncrement(QtCore.QSize(0, 0))
self.centralwidget = QtWidgets.QWidget(SplashScreen)
self.centralwidget.setStyleSheet("")
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout.setObjectName("verticalLayout")
self.dropShadowFrame = QtWidgets.QFrame(self.centralwidget)
self.dropShadowFrame.setStyleSheet("QFrame{\n"
" color:rgb(46,52,64);\n"
" background-color: rgb(46,52,64);\n"
"}\n"
"\n"
"QLabel{\n"
" color: rgb(216,222,233);\n"
"}\n"
"\n"
"QProgressBar{\n"
" background-color:rgb(46,52,64);\n"
" color : rgb(46,52,64);\n"
" text-align:center;\n"
" text-visibility:none;\n"
" border-style:none;\n"
"}\n"
"\n"
"QProgressBar::Chunk{\n"
"background-color: rgb(236,239,244);\n"
"}")
self.dropShadowFrame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.dropShadowFrame.setFrameShadow(QtWidgets.QFrame.Raised)
self.dropShadowFrame.setObjectName("dropShadowFrame")
self.label = QtWidgets.QLabel(self.dropShadowFrame)
self.label.setGeometry(QtCore.QRect(3, 119, 651, 81))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(40)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setStyleSheet("")
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(self.dropShadowFrame)
self.label_2.setGeometry(QtCore.QRect(0, 180, 651, 51))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(False)
font.setWeight(50)
self.label_2.setFont(font)
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
self.label_2.setObjectName("label_2")
self.startProgressBar = QtWidgets.QProgressBar(self.dropShadowFrame)
self.startProgressBar.setGeometry(QtCore.QRect(30, 300, 601, 3))
self.startProgressBar.setMaximumSize(QtCore.QSize(16777215, 23))
self.startProgressBar.setStyleSheet("")
self.startProgressBar.setProperty("value", 24)
self.startProgressBar.setObjectName("startProgressBar")
self.label_4 = QtWidgets.QLabel(self.dropShadowFrame)
self.label_4.setGeometry(QtCore.QRect(540, 340, 30, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(40)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setText("")
self.label_4.setPixmap(QtGui.QPixmap("../../Google Drive/CredoSense Files/Logo_2020/logo.png"))
self.label_4.setScaledContents(True)
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.dropShadowFrame)
self.label_5.setGeometry(QtCore.QRect(570, 340, 81, 31))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
font.setKerning(True)
self.label_5.setFont(font)
self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_5.setObjectName("label_5")
self.label_6 = QtWidgets.QLabel(self.dropShadowFrame)
self.label_6.setGeometry(QtCore.QRect(630, 330, 21, 20))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
font.setKerning(True)
self.label_6.setFont(font)
self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_6.setObjectName("label_6")
self.verticalLayout.addWidget(self.dropShadowFrame)
SplashScreen.setCentralWidget(self.centralwidget)
self.retranslateUi(SplashScreen)
QtCore.QMetaObject.connectSlotsByName(SplashScreen)
def retranslateUi(self, SplashScreen):
_translate = QtCore.QCoreApplication.translate
SplashScreen.setWindowTitle(_translate("SplashScreen", "MainWindow"))
self.label.setText(_translate("SplashScreen", "CredoWare DL"))
self.label_2.setText(_translate("SplashScreen", "Interfacing CSDL Series data loggers"))
self.label_5.setText(_translate("SplashScreen", "CredoSense"))
self.label_6.setText(_translate("SplashScreen", "by"))