-
Notifications
You must be signed in to change notification settings - Fork 1
/
frontend.py
103 lines (93 loc) · 4.85 KB
/
frontend.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'frontend.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_NEEMO(object):
def setupUi(self, NEEMO):
NEEMO.setObjectName("NEEMO")
NEEMO.resize(751, 421)
self.centralwidget = QtWidgets.QWidget(NEEMO)
self.centralwidget.setAutoFillBackground(True)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(0, 0, 751, 421))
self.label.setMaximumSize(QtCore.QSize(751, 421))
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap("C:\\Users\\user\\Desktop\\NEEMO\\newfrontend.gif"))
self.label.setScaledContents(True)
self.label.setObjectName("label")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setGeometry(QtCore.QRect(580, 380, 71, 31))
font = QtGui.QFont()
font.setFamily("Palatino Linotype")
font.setPointSize(16)
font.setBold(False)
font.setItalic(False)
font.setWeight(9)
self.pushButton.setFont(font)
self.pushButton.setStyleSheet("font: 75 16pt \"Palatino Linotype\";\n"
"color: rgb(1, 28, 33);\n"
"\n"
"border-color: rgb(255, 255, 255);")
self.pushButton.setCheckable(False)
self.pushButton.setObjectName("pushButton")
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_2.setGeometry(QtCore.QRect(660, 380, 71, 31))
self.pushButton_2.setStyleSheet("font: 75 16pt \"Palatino Linotype\";\n"
"border-color: rgb(255, 255, 255);\n"
"color: rgb(1, 28, 33);\n"
"")
self.pushButton_2.setObjectName("pushButton_2")
self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser.setGeometry(QtCore.QRect(10, 370, 125, 41))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.textBrowser.setFont(font)
self.textBrowser.setLayoutDirection(QtCore.Qt.LeftToRight)
self.textBrowser.setAutoFillBackground(False)
self.textBrowser.setStyleSheet("background:transparent;\n"
"color: rgb(46, 154, 255);\n"
"")
self.textBrowser.setObjectName("textBrowser")
self.textBrowser_2 = QtWidgets.QTextBrowser(self.centralwidget)
self.textBrowser_2.setGeometry(QtCore.QRect(624, 10, 107, 41))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setWeight(75)
self.textBrowser_2.setFont(font)
self.textBrowser_2.setStyleSheet("background:transparent;\n"
"color: rgb(46, 154, 255);")
self.textBrowser_2.setObjectName("textBrowser_2")
NEEMO.setCentralWidget(self.centralwidget)
self.retranslateUi(NEEMO)
QtCore.QMetaObject.connectSlotsByName(NEEMO)
def retranslateUi(self, NEEMO):
_translate = QtCore.QCoreApplication.translate
NEEMO.setWindowTitle(_translate("NEEMO", "NEEMO-THE DESKTOP ASSISTANT"))
self.pushButton.setText(_translate("NEEMO", "RUN"))
self.pushButton_2.setText(_translate("NEEMO", "EXIT"))
self.textBrowser.setHtml(_translate("NEEMO", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:14pt; font-weight:600; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt; font-weight:400;\"><br /></p></body></html>"))
self.textBrowser_2.setHtml(_translate("NEEMO", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:16pt; font-weight:600; font-style:normal;\">\n"
"<p align=\"justify\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8.25pt; font-weight:400;\"><br /></p></body></html>"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
NEEMO = QtWidgets.QMainWindow()
ui = Ui_NEEMO()
ui.setupUi(NEEMO)
NEEMO.show()
sys.exit(app.exec_())