forked from zhanglongqi/pymodslave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ui_about.py
55 lines (48 loc) · 2.06 KB
/
Ui_about.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'about.ui'
#
# Created: Tue Oct 30 15:56:02 2012
# by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
class Ui_About(object):
def setupUi(self, About):
About.setObjectName(_fromUtf8("About"))
About.resize(400, 80)
About.setMaximumSize(QtCore.QSize(400, 80))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/img/info16.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
About.setWindowIcon(icon)
About.setModal(True)
self.verticalLayout = QtGui.QVBoxLayout(About)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.lblVersion = QtGui.QLabel(About)
font = QtGui.QFont()
font.setPointSize(18)
font.setBold(True)
font.setWeight(75)
self.lblVersion.setFont(font)
self.lblVersion.setAlignment(QtCore.Qt.AlignCenter)
self.lblVersion.setObjectName(_fromUtf8("lblVersion"))
self.verticalLayout.addWidget(self.lblVersion)
self.lblURL = QtGui.QLabel(About)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.lblURL.setFont(font)
self.lblURL.setAlignment(QtCore.Qt.AlignCenter)
self.lblURL.setOpenExternalLinks(True)
self.lblURL.setObjectName(_fromUtf8("lblURL"))
self.verticalLayout.addWidget(self.lblURL)
self.retranslateUi(About)
QtCore.QMetaObject.connectSlotsByName(About)
def retranslateUi(self, About):
About.setWindowTitle(QtGui.QApplication.translate("About", "About", None, QtGui.QApplication.UnicodeUTF8))
self.lblVersion.setText(QtGui.QApplication.translate("About", "pyModSlave", None, QtGui.QApplication.UnicodeUTF8))
self.lblURL.setText(QtGui.QApplication.translate("About", "http://", None, QtGui.QApplication.UnicodeUTF8))
import pyModSlaveQt_rc