-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.py
122 lines (113 loc) · 5.49 KB
/
update.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'wms_v2.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# 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_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(876, 404)
MainWindow.setStyleSheet("background-color: rgb(0, 0, 0);")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(380, 10, 241, 121))
self.pushButton.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(179, 0, 0);\n"
"selection-color: rgb(255, 255, 255);\n"
"font: 75 14pt \"Calibri\";")
self.pushButton.setObjectName("pushButton")
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_2.setGeometry(QtCore.QRect(630, 10, 241, 121))
self.pushButton_2.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(179, 0, 0);\n"
"selection-color: rgb(255, 255, 255);\n"
"font: 75 14pt \"Calibri\";")
self.pushButton_2.setObjectName("pushButton_2")
self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_3.setGeometry(QtCore.QRect(380, 140, 241, 121))
self.pushButton_3.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(179, 0, 0);\n"
"selection-color: rgb(255, 255, 255);\n"
"font: 75 14pt \"Calibri\";")
self.pushButton_3.setObjectName("pushButton_3")
self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_4.setGeometry(QtCore.QRect(630, 140, 241, 121))
self.pushButton_4.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(0, 147, 176);\n"
"background-color: rgb(31, 141, 0);\n"
"font: 75 14pt \"Calibri\";")
self.pushButton_4.setObjectName("pushButton_4")
self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_5.setGeometry(QtCore.QRect(380, 270, 491, 51))
self.pushButton_5.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(0, 147, 176);\n"
"background-color: rgb(31, 141, 0);\n"
"font: 75 14pt \"Calibri\";")
self.pushButton_5.setObjectName("pushButton_5")
self.pushButton_6 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_6.setGeometry(QtCore.QRect(380, 330, 491, 51))
font = QtGui.QFont()
font.setFamily("Calibri")
font.setPointSize(14)
font.setBold(False)
font.setItalic(False)
font.setWeight(9)
self.pushButton_6.setFont(font)
self.pushButton_6.setStyleSheet("color: rgb(255, 255, 255);\n"
"background-color: rgb(0, 147, 176);\n"
"background-color: rgb(31, 141, 0);\n"
"font: 75 14pt \"Calibri\";")
self.pushButton_6.setObjectName("pushButton_6")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(0, 280, 131, 161))
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap("../../Pictures/zrn_logo_no_back.png"))
self.label_3.setScaledContents(True)
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(0, 0, 371, 381))
self.label_4.setToolTipDuration(1)
self.label_4.setStyleSheet("color: rgb(255, 255, 255);\n"
"font: 75 36pt \"Calibri\";")
self.label_4.setText("")
self.label_4.setTextFormat(QtCore.Qt.RichText)
self.label_4.setPixmap(QtGui.QPixmap("../../Pictures/WMS_LOGO.jpg"))
self.label_4.setScaledContents(True)
self.label_4.setObjectName("label_4")
self.pushButton.raise_()
self.pushButton_2.raise_()
self.pushButton_3.raise_()
self.pushButton_4.raise_()
self.pushButton_5.raise_()
self.pushButton_6.raise_()
self.label_4.raise_()
self.label_3.raise_()
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.pushButton.setText(_translate("MainWindow", "Send a Message to a number"))
self.pushButton_2.setText(_translate("MainWindow", "Send a Message to\n"
" multiple Numbers"))
self.pushButton_3.setText(_translate("MainWindow", "Send a Message to a Group"))
self.pushButton_4.setText(_translate("MainWindow", "Send a Message to\n"
" Multiple Groups"))
self.pushButton_5.setText(_translate("MainWindow", "Log Out"))
self.pushButton_6.setText(_translate("MainWindow", "Scan QR and LogIn"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())