-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_dialog.py
50 lines (44 loc) · 1.7 KB
/
ui_dialog.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'dialog.ui'
#
# Created by: PyQt5 UI code generator 5.7
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(400, 136)
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(160, 20, 80, 16))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setObjectName("label")
self.time = QtWidgets.QLabel(Dialog)
self.time.setGeometry(QtCore.QRect(180, 50, 41, 16))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.time.setFont(font)
self.time.setObjectName("time")
self.stop = QtWidgets.QPushButton(Dialog)
self.stop.setGeometry(QtCore.QRect(140, 90, 111, 23))
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.stop.setFont(font)
self.stop.setStyleSheet("background-color:\"red\";\n"
"color:\"white\";")
self.stop.setObjectName("stop")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Capturing Packets...."))
self.label.setText(_translate("Dialog", "Seconds"))
self.time.setText(_translate("Dialog", "1"))
self.stop.setText(_translate("Dialog", "Stop Capturing"))