forked from BolisettySujith/J.A.R.V.I.S
-
Notifications
You must be signed in to change notification settings - Fork 0
/
JarvisUi.py
200 lines (191 loc) · 9.38 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
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# -*- 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(1819, 926)
self.centralwidget = QtWidgets.QWidget(JarvisUI)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(-80, -50, 1981, 1091))
self.label.setAutoFillBackground(False)
self.label.setStyleSheet("background-color: rgb(162, 0, 0);")
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap("E:/amFOSS/JARVIS/JarvisUI/bg2.jpg"))
self.label.setScaledContents(True)
self.label.setObjectName("label")
self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_3.setGeometry(QtCore.QRect(1340, 860, 121, 51))
font = QtGui.QFont()
font.setPointSize(20)
font.setBold(True)
font.setWeight(75)
self.pushButton_3.setFont(font)
self.pushButton_3.setAutoFillBackground(False)
self.pushButton_3.setStyleSheet("background-color: rgb(0, 136, 255);")
self.pushButton_3.setObjectName("pushButton_3")
self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_4.setGeometry(QtCore.QRect(1220, 860, 121, 51))
font = QtGui.QFont()
font.setPointSize(20)
font.setBold(True)
font.setWeight(75)
self.pushButton_4.setFont(font)
self.pushButton_4.setAutoFillBackground(False)
self.pushButton_4.setStyleSheet("background-color: rgb(255, 255, 255);")
self.pushButton_4.setObjectName("pushButton_4")
self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser.setGeometry(QtCore.QRect(1200, 50, 181, 51))
self.textBrowser.setStyleSheet("background:transparent;\n"
"border-radius:skyblue;\n"
"color : white;\n"
"font-size:20px;")
self.textBrowser.setObjectName("textBrowser")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser_2.setGeometry(QtCore.QRect(1400, 50, 181, 51))
self.textBrowser_2.setStyleSheet("background:transparent;\n"
"border-radius:skyblue;\n"
"color : white;\n"
"font-size:20px;")
self.textBrowser_2.setObjectName("textBrowser_2")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(580, 360, 661, 381))
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap("UI/ringJar.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(-10, 120, 221, 321))
self.label_4.setText("")
self.label_4.setPixmap(QtGui.QPixmap("UI/circle.gif"))
self.label_4.setScaledContents(True)
self.label_4.setObjectName("label_4")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(790, 180, 241, 211))
self.label_2.setText("")
self.label_2.setPixmap(QtGui.QPixmap("UI/ironman1.gif"))
self.label_2.setScaledContents(True)
self.label_2.setObjectName("label_2")
self.label_5 = QtWidgets.QLabel(self.centralwidget)
self.label_5.setGeometry(QtCore.QRect(10, 260, 641, 611))
self.label_5.setText("")
self.label_5.setPixmap(QtGui.QPixmap("E:/amFOSS/JARVIS/JarvisUI/frame1_flip.png"))
self.label_5.setScaledContents(True)
self.label_5.setObjectName("label_5")
self.label_6 = QtWidgets.QLabel(self.centralwidget)
self.label_6.setGeometry(QtCore.QRect(1170, 260, 631, 601))
self.label_6.setText("")
self.label_6.setPixmap(QtGui.QPixmap("E:/amFOSS/JARVIS/JarvisUI/fram1.png"))
self.label_6.setScaledContents(True)
self.label_6.setObjectName("label_6")
self.label_7 = QtWidgets.QLabel(self.centralwidget)
self.label_7.setGeometry(QtCore.QRect(590, 730, 641, 81))
self.label_7.setText("")
self.label_7.setPixmap(QtGui.QPixmap("UI/lines1.gif"))
self.label_7.setScaledContents(True)
self.label_7.setObjectName("label_7")
self.label_8 = QtWidgets.QLabel(self.centralwidget)
self.label_8.setGeometry(QtCore.QRect(1220, 370, 251, 371))
self.label_8.setText("")
self.label_8.setPixmap(QtGui.QPixmap("UI/ironman3.gif"))
self.label_8.setScaledContents(True)
self.label_8.setObjectName("label_8")
self.label_9 = QtWidgets.QLabel(self.centralwidget)
self.label_9.setGeometry(QtCore.QRect(1610, 120, 221, 321))
self.label_9.setText("")
self.label_9.setPixmap(QtGui.QPixmap("UI/circle.gif"))
self.label_9.setScaledContents(True)
self.label_9.setObjectName("label_9")
self.label_10 = QtWidgets.QLabel(self.centralwidget)
self.label_10.setGeometry(QtCore.QRect(1160, 10, 191, 91))
self.label_10.setText("")
self.label_10.setPixmap(QtGui.QPixmap("UI/frame10.jpg"))
self.label_10.setScaledContents(True)
self.label_10.setObjectName("label_10")
self.label_11 = QtWidgets.QLabel(self.centralwidget)
self.label_11.setGeometry(QtCore.QRect(1350, 10, 191, 91))
self.label_11.setText("")
self.label_11.setPixmap(QtGui.QPixmap("E:/amFOSS/JARVIS/JarvisUI/frame10.jpg"))
self.label_11.setScaledContents(True)
self.label_11.setObjectName("label_11")
self.label_12 = QtWidgets.QLabel(self.centralwidget)
self.label_12.setGeometry(QtCore.QRect(-30, 780, 201, 111))
self.label_12.setText("")
self.label_12.setPixmap(QtGui.QPixmap("UI/powersource.gif"))
self.label_12.setScaledContents(True)
self.label_12.setObjectName("label_12")
self.label_13 = QtWidgets.QLabel(self.centralwidget)
self.label_13.setGeometry(QtCore.QRect(1650, 780, 201, 111))
self.label_13.setText("")
self.label_13.setPixmap(QtGui.QPixmap("UI/powersource.gif"))
self.label_13.setScaledContents(True)
self.label_13.setObjectName("label_13")
self.label_14 = QtWidgets.QLabel(self.centralwidget)
self.label_14.setGeometry(QtCore.QRect(1210, 20, 91, 31))
self.label_14.setLayoutDirection(QtCore.Qt.LeftToRight)
self.label_14.setStyleSheet("color: rgb(93, 234, 255);\n"
"font: 75 11pt \"MS Shell Dlg 2\";")
self.label_14.setObjectName("label_14")
self.label_15 = QtWidgets.QLabel(self.centralwidget)
self.label_15.setGeometry(QtCore.QRect(1390, 20, 91, 31))
self.label_15.setLayoutDirection(QtCore.Qt.LeftToRight)
self.label_15.setStyleSheet("color: rgb(93, 234, 255);\n"
"font: 75 11pt \"MS Shell Dlg 2\";")
self.label_15.setObjectName("label_15")
self.label_16 = QtWidgets.QLabel(self.centralwidget)
self.label_16.setGeometry(QtCore.QRect(340, 370, 251, 371))
self.label_16.setText("")
self.label_16.setPixmap(QtGui.QPixmap("UI/ironman3_flipped.gif"))
self.label_16.setScaledContents(True)
self.label_16.setObjectName("label_16")
self.label_17 = QtWidgets.QLabel(self.centralwidget)
self.label_17.setGeometry(QtCore.QRect(290, 70, 211, 71))
self.label_17.setText("")
self.label_17.setPixmap(QtGui.QPixmap("UI/Sujith.gif"))
self.label_17.setScaledContents(True)
self.label_17.setObjectName("label_17")
self.label.raise_()
self.pushButton_3.raise_()
self.pushButton_4.raise_()
self.label_4.raise_()
self.label_2.raise_()
self.label_3.raise_()
self.label_7.raise_()
self.label_8.raise_()
self.label_9.raise_()
self.label_6.raise_()
self.label_10.raise_()
self.textBrowser.raise_()
self.label_11.raise_()
self.textBrowser_2.raise_()
self.label_12.raise_()
self.label_13.raise_()
self.label_14.raise_()
self.label_15.raise_()
self.label_16.raise_()
self.label_5.raise_()
self.label_17.raise_()
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_3.setText(_translate("JarvisUI", "EXIT"))
self.pushButton_4.setText(_translate("JarvisUI", "RUN"))
self.label_14.setText(_translate("JarvisUI", " DATE"))
self.label_15.setText(_translate("JarvisUI", " TIME"))
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_())