forked from seeebek/EliteOCR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
updateUI.py
66 lines (58 loc) · 2.75 KB
/
updateUI.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 'updateUI.ui'
#
# Created: Mon Dec 29 12:31:22 2014
# by: PyQt4 UI code generator 4.11.3
#
# 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_Update(object):
def setupUi(self, Update):
Update.setObjectName(_fromUtf8("Update"))
Update.resize(393, 98)
self.verticalLayout = QtGui.QVBoxLayout(Update)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.label = QtGui.QLabel(Update)
self.label.setText(_fromUtf8(""))
self.label.setObjectName(_fromUtf8("label"))
self.horizontalLayout_2.addWidget(self.label)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.check = QtGui.QPushButton(Update)
self.check.setObjectName(_fromUtf8("check"))
self.horizontalLayout.addWidget(self.check)
self.download = QtGui.QPushButton(Update)
self.download.setEnabled(False)
self.download.setObjectName(_fromUtf8("download"))
self.horizontalLayout.addWidget(self.download)
spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout)
self.progress_bar = QtGui.QProgressBar(Update)
self.progress_bar.setProperty("value", 0)
self.progress_bar.setTextVisible(False)
self.progress_bar.setObjectName(_fromUtf8("progress_bar"))
self.verticalLayout.addWidget(self.progress_bar)
self.retranslateUi(Update)
QtCore.QMetaObject.connectSlotsByName(Update)
def retranslateUi(self, Update):
Update.setWindowTitle(_translate("Update", "Update", None))
self.check.setText(_translate("Update", "Check for Update", None))
self.download.setText(_translate("Update", "Download Update", None))