-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathProgressDialog.py
65 lines (57 loc) · 2.64 KB
/
ProgressDialog.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ProgressDialog.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#
# 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(607, 481)
self.gridLayout = QtWidgets.QGridLayout(Dialog)
self.gridLayout.setObjectName("gridLayout")
self.label = QtWidgets.QLabel(Dialog)
self.label.setMaximumSize(QtCore.QSize(150, 20))
self.label.setObjectName("label")
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.label_3 = QtWidgets.QLabel(Dialog)
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
self.label_5 = QtWidgets.QLabel(Dialog)
self.label_5.setText("")
self.label_5.setObjectName("label_5")
self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
self.CancelButton = QtWidgets.QPushButton(Dialog)
self.CancelButton.setMaximumSize(QtCore.QSize(150, 16777215))
self.CancelButton.setObjectName("CancelButton")
self.gridLayout.addWidget(self.CancelButton, 3, 2, 1, 1)
self.FileCounter = QtWidgets.QLabel(Dialog)
self.FileCounter.setObjectName("FileCounter")
self.gridLayout.addWidget(self.FileCounter, 0, 1, 1, 2)
self.progressBar = QtWidgets.QProgressBar(Dialog)
self.progressBar.setProperty("value", 0)
self.progressBar.setObjectName("progressBar")
self.gridLayout.addWidget(self.progressBar, 1, 1, 1, 2)
self.ProgressText = QtWidgets.QLabel(Dialog)
self.ProgressText.setText("")
self.ProgressText.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.ProgressText.setObjectName("ProgressText")
self.gridLayout.addWidget(self.ProgressText, 2, 0, 1, 3)
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.label.setText(_translate("Dialog", "File Count:"))
self.label_3.setText(_translate("Dialog", "Matching Progress:"))
self.CancelButton.setText(_translate("Dialog", "Close Window"))
self.FileCounter.setText(_translate("Dialog", "0"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())