forked from pratikone/videoVenom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
processing_ui.py
66 lines (56 loc) · 2.22 KB
/
processing_ui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui\processing.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.resize(400, 300)
self.animatedDial = QtGui.QDial(Dialog)
self.animatedDial.setGeometry(QtCore.QRect(60, 40, 281, 191))
self.animatedDial.setObjectName(_fromUtf8("animatedDial"))
self.loadingLabel = QtGui.QLabel(Dialog)
self.loadingLabel.setGeometry(QtCore.QRect(150, 249, 101, 31))
font = QtGui.QFont()
font.setFamily(_fromUtf8("Abyssinica SIL"))
font.setPointSize(12)
self.loadingLabel.setFont(font)
self.loadingLabel.setObjectName(_fromUtf8("loadingLabel"))
self.picLabel = QtGui.QLabel(Dialog)
self.picLabel.setGeometry(QtCore.QRect(100, 20, 211, 221))
self.picLabel.setText(_fromUtf8(""))
self.picLabel.setPixmap(QtGui.QPixmap(_fromUtf8(":/camera/HDRCameraApp_trans.png")))
self.picLabel.setScaledContents(True)
self.picLabel.setObjectName(_fromUtf8("picLabel"))
self.picLabel.raise_()
self.animatedDial.raise_()
self.loadingLabel.raise_()
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(_translate("Dialog", "Video Processing", None))
self.loadingLabel.setText(_translate("Dialog", "Processing ...", None))
import icons_rc
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
Dialog = QtGui.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())