-
Notifications
You must be signed in to change notification settings - Fork 0
/
jarvisUi.py
85 lines (76 loc) · 3.78 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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'jarvisUi.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_JarvisGUI(object):
def setupUi(self, JarvisGUI):
JarvisGUI.setObjectName("JarvisGUI")
JarvisGUI.resize(949, 603)
self.centralwidget = QtWidgets.QWidget(JarvisGUI)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(-2, 5, 941, 591))
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap("C:/Users/Dilip Kumar Suna/OneDrive/Desktop/Jarvis UI/7LP8.gif"))
self.label.setScaledContents(True)
self.label.setObjectName("label")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(370, 520, 91, 51))
font = QtGui.QFont()
font.setFamily("Gabriola")
font.setPointSize(24)
self.pushButton.setFont(font)
self.pushButton.setStyleSheet("boarder-radious:none;\n"
"background-color: rgb(85, 170, 0);")
self.pushButton.setObjectName("pushButton")
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_2.setGeometry(QtCore.QRect(480, 520, 91, 51))
font = QtGui.QFont()
font.setFamily("Gabriola")
font.setPointSize(24)
self.pushButton_2.setFont(font)
self.pushButton_2.setStyleSheet("boarder-radious:none;\n"
"background-color: rgb(255, 0, 0);")
self.pushButton_2.setObjectName("pushButton_2")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(0, 10, 301, 141))
self.label_2.setText("")
self.label_2.setPixmap(QtGui.QPixmap("C:/Users/Dilip Kumar Suna/OneDrive/Desktop/Jarvis UI/image4.gif"))
self.label_2.setScaledContents(True)
self.label_2.setObjectName("label_2")
self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser.setGeometry(QtCore.QRect(530, 40, 171, 51))
self.textBrowser.setStyleSheet("background-color: transparent;\n"
"boarder-radious:none;")
self.textBrowser.setObjectName("textBrowser")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser_2.setGeometry(QtCore.QRect(710, 40, 171, 51))
self.textBrowser_2.setStyleSheet("background-color: transparent;\n"
"boarder-radious:none;")
self.textBrowser_2.setObjectName("textBrowser_2")
self.label_3 = QtWidgets.QLabel(self.centralwidget)
self.label_3.setGeometry(QtCore.QRect(710, 330, 191, 191))
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap("C:/Users/Dilip Kumar Suna/OneDrive/Desktop/Jarvis UI/image5.gif"))
self.label_3.setScaledContents(True)
self.label_3.setObjectName("label_3")
JarvisGUI.setCentralWidget(self.centralwidget)
self.retranslateUi(JarvisGUI)
QtCore.QMetaObject.connectSlotsByName(JarvisGUI)
def retranslateUi(self, JarvisGUI):
_translate = QtCore.QCoreApplication.translate
JarvisGUI.setWindowTitle(_translate("JarvisGUI", "MainWindow"))
self.pushButton.setText(_translate("JarvisGUI", "Run"))
self.pushButton_2.setText(_translate("JarvisGUI", "Exit"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
JarvisGUI = QtWidgets.QMainWindow()
ui = Ui_JarvisGUI()
ui.setupUi(JarvisGUI)
JarvisGUI.show()
sys.exit(app.exec_())