-
Notifications
You must be signed in to change notification settings - Fork 0
/
err_add.py
48 lines (40 loc) · 1.58 KB
/
err_add.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'err_add.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_Error(object):
def setupUi(self, Error):
Error.setObjectName(_fromUtf8("Error"))
Error.resize(379, 131)
self.label = QtGui.QLabel(Error)
self.label.setGeometry(QtCore.QRect(40, 40, 321, 17))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setObjectName(_fromUtf8("label"))
self.pushButton = QtGui.QPushButton(Error)
self.pushButton.setGeometry(QtCore.QRect(280, 80, 81, 31))
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.retranslateUi(Error)
QtCore.QMetaObject.connectSlotsByName(Error)
def retranslateUi(self, Error):
Error.setWindowTitle(_translate("Error", "Dialog", None))
self.label.setText(_translate("Error", "Something Went Wrong.. Try Again", None))
self.pushButton.setText(_translate("Error", "OK", None))