-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeepLearningWindow.py
62 lines (53 loc) · 2.69 KB
/
DeepLearningWindow.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ScanWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# 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_DeepLearningWindow(object):
def setupUi(self, ScanWindow):
ScanWindow.setObjectName("ScanWindow")
ScanWindow.resize(757, 423)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(ScanWindow.sizePolicy().hasHeightForWidth())
ScanWindow.setSizePolicy(sizePolicy)
ScanWindow.setMinimumSize(QtCore.QSize(757, 423))
ScanWindow.setMaximumSize(QtCore.QSize(757, 423))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/clamguard/Gerald-G-Clam-Security-Guard-ico32x32.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
ScanWindow.setWindowIcon(icon)
self.centralwidget = QtWidgets.QWidget(ScanWindow)
self.centralwidget.setObjectName("centralwidget")
self.txtScan = QtWidgets.QTextEdit(self.centralwidget)
self.txtScan.setGeometry(QtCore.QRect(10, 30, 741, 341))
self.txtScan.setObjectName("txtScan")
self.lblOutput = QtWidgets.QLabel(self.centralwidget)
self.lblOutput.setGeometry(QtCore.QRect(10, 10, 54, 17))
self.lblOutput.setObjectName("lblOutput")
self.btnCancelScan = QtWidgets.QPushButton(self.centralwidget)
self.btnCancelScan.setGeometry(QtCore.QRect(280, 380, 121, 29))
self.btnCancelScan.setObjectName("btnCancelScan")
self.btnClose = QtWidgets.QPushButton(self.centralwidget)
self.btnClose.setGeometry(QtCore.QRect(410, 380, 87, 29))
self.btnClose.setObjectName("btnClose")
# ScanWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(ScanWindow)
QtCore.QMetaObject.connectSlotsByName(ScanWindow)
def retranslateUi(self, ScanWindow):
_translate = QtCore.QCoreApplication.translate
ScanWindow.setWindowTitle(_translate("ScanWindow", "Detect for viruses"))
self.lblOutput.setText(_translate("ScanWindow", "Detect Result"))
self.btnCancelScan.setText(_translate("ScanWindow", "Cancel Detect"))
self.btnClose.setText(_translate("ScanWindow", "Close"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
ScanWindow = QtWidgets.QMainWindow()
ui = Ui_DeepLearningWindow()
ui.setupUi(ScanWindow)
ScanWindow.show()
sys.exit(app.exec_())