-
Notifications
You must be signed in to change notification settings - Fork 943
/
Copy pathjarvisUi.py
102 lines (93 loc) · 4.42 KB
/
jarvisUi.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'jarvisUi.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_jarvisUi(object):
def setupUi(self, jarvisUi):
jarvisUi.setObjectName("jarvisUi")
jarvisUi.resize(997, 533)
self.centralwidget = QtWidgets.QWidget(jarvisUi)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(-170, -10, 1211, 541))
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap("Black_Template.jpg"))
self.label.setScaledContents(True)
self.label.setObjectName("label")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(630, 10, 371, 281))
self.label_2.setText("")
self.label_2.setPixmap(QtGui.QPixmap("Iron_Template_1.gif"))
self.label_2.setScaledContents(True)
self.label_2.setObjectName("label_2")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(20, 180, 261, 181))
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap("jarvis_jj.gif"))
self.label_3.setScaledContents(True)
self.label_3.setObjectName("label_3")
self.label_4 = QtWidgets.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(16, 12, 521, 181))
self.label_4.setText("")
self.label_4.setPixmap(QtGui.QPixmap("initial.gif"))
self.label_4.setScaledContents(True)
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(20, 370, 281, 151))
self.label_5.setText("")
self.label_5.setPixmap(QtGui.QPixmap("Health_Template.gif"))
self.label_5.setScaledContents(True)
self.label_5.setObjectName("label_5")
self.label_6 = QtWidgets.QLabel(self.centralwidget)
self.label_6.setGeometry(QtCore.QRect(730, 320, 251, 181))
self.label_6.setText("")
self.label_6.setPixmap(QtGui.QPixmap("B.G_Template_1.gif"))
self.label_6.setScaledContents(True)
self.label_6.setObjectName("label_6")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(420, 360, 101, 51))
self.pushButton.setStyleSheet("color: rgb(0, 0, 255);\n"
"background-color: rgb(85, 255, 255);\n"
"font: 14pt \"MS UI Gothic\";")
self.pushButton.setObjectName("pushButton")
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_2.setGeometry(QtCore.QRect(530, 360, 101, 51))
self.pushButton_2.setStyleSheet("color: rgb(0, 0, 255);\n"
"background-color: rgb(85, 255, 255);\n"
"font: 14pt \"MS UI Gothic\";\n"
"")
self.pushButton_2.setObjectName("pushButton_2")
self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser.setGeometry(QtCore.QRect(330, 470, 191, 51))
self.textBrowser.setStyleSheet("background-color: transparent;\n"
"border-radius:none;\n"
"color:white;\n"
"font-size:20px;")
self.textBrowser.setObjectName("textBrowser")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser_2.setGeometry(QtCore.QRect(520, 470, 191, 51))
self.textBrowser_2.setStyleSheet("background-color: transparent;\n"
"border-radius:none;\n"
"color:white;\n"
"font-size:20px;")
self.textBrowser_2.setObjectName("textBrowser_2")
jarvisUi.setCentralWidget(self.centralwidget)
self.retranslateUi(jarvisUi)
QtCore.QMetaObject.connectSlotsByName(jarvisUi)
def retranslateUi(self, jarvisUi):
_translate = QtCore.QCoreApplication.translate
jarvisUi.setWindowTitle(_translate("jarvisUi", "MainWindow"))
self.pushButton.setText(_translate("jarvisUi", "START"))
self.pushButton_2.setText(_translate("jarvisUi", "EXIT"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
jarvisUi = QtWidgets.QMainWindow()
ui = Ui_jarvisUi()
ui.setupUi(jarvisUi)
jarvisUi.show()
sys.exit(app.exec_())