oliver@100
|
1 |
# -*- coding: utf-8 -*-
|
oliver@100
|
2 |
|
oliver@100
|
3 |
# Form implementation generated from reading ui file 'AboutDialog.ui'
|
oliver@100
|
4 |
#
|
oliver@194
|
5 |
# Created: Fri Jun 13 12:57:11 2014
|
oliver@100
|
6 |
# by: PyQt4 UI code generator 4.10.3
|
oliver@100
|
7 |
#
|
oliver@100
|
8 |
# WARNING! All changes made in this file will be lost!
|
oliver@100
|
9 |
|
oliver@100
|
10 |
from PyQt4 import QtCore, QtGui
|
oliver@100
|
11 |
|
oliver@100
|
12 |
try:
|
oliver@100
|
13 |
_fromUtf8 = QtCore.QString.fromUtf8
|
oliver@100
|
14 |
except AttributeError:
|
oliver@100
|
15 |
def _fromUtf8(s):
|
oliver@100
|
16 |
return s
|
oliver@100
|
17 |
|
oliver@100
|
18 |
try:
|
oliver@100
|
19 |
_encoding = QtGui.QApplication.UnicodeUTF8
|
oliver@100
|
20 |
def _translate(context, text, disambig):
|
oliver@100
|
21 |
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
oliver@100
|
22 |
except AttributeError:
|
oliver@100
|
23 |
def _translate(context, text, disambig):
|
oliver@100
|
24 |
return QtGui.QApplication.translate(context, text, disambig)
|
oliver@100
|
25 |
|
oliver@100
|
26 |
class Ui_AboutDialog(object):
|
oliver@100
|
27 |
def setupUi(self, AboutDialog):
|
oliver@100
|
28 |
AboutDialog.setObjectName(_fromUtf8("AboutDialog"))
|
oliver@194
|
29 |
AboutDialog.resize(750, 600)
|
oliver@100
|
30 |
icon = QtGui.QIcon()
|
oliver@100
|
31 |
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/opensecurity_icon_64.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
oliver@100
|
32 |
AboutDialog.setWindowIcon(icon)
|
oliver@102
|
33 |
self.lyMain = QtGui.QVBoxLayout(AboutDialog)
|
oliver@102
|
34 |
self.lyMain.setObjectName(_fromUtf8("lyMain"))
|
oliver@100
|
35 |
self.scrAbout = QtGui.QScrollArea(AboutDialog)
|
oliver@100
|
36 |
self.scrAbout.setAutoFillBackground(False)
|
oliver@100
|
37 |
self.scrAbout.setStyleSheet(_fromUtf8(""))
|
oliver@100
|
38 |
self.scrAbout.setWidgetResizable(True)
|
oliver@100
|
39 |
self.scrAbout.setObjectName(_fromUtf8("scrAbout"))
|
oliver@100
|
40 |
self.scrAboutContent = QtGui.QWidget()
|
oliver@194
|
41 |
self.scrAboutContent.setGeometry(QtCore.QRect(0, 0, 736, 558))
|
oliver@100
|
42 |
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
|
oliver@100
|
43 |
sizePolicy.setHorizontalStretch(0)
|
oliver@100
|
44 |
sizePolicy.setVerticalStretch(0)
|
oliver@100
|
45 |
sizePolicy.setHeightForWidth(self.scrAboutContent.sizePolicy().hasHeightForWidth())
|
oliver@100
|
46 |
self.scrAboutContent.setSizePolicy(sizePolicy)
|
oliver@100
|
47 |
self.scrAboutContent.setStyleSheet(_fromUtf8("QWidget { background: white; color: black; };"))
|
oliver@100
|
48 |
self.scrAboutContent.setObjectName(_fromUtf8("scrAboutContent"))
|
oliver@100
|
49 |
self.scrAbout.setWidget(self.scrAboutContent)
|
oliver@102
|
50 |
self.lyMain.addWidget(self.scrAbout)
|
oliver@100
|
51 |
self.horizontalLayout = QtGui.QHBoxLayout()
|
oliver@100
|
52 |
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
oliver@100
|
53 |
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
|
oliver@100
|
54 |
self.horizontalLayout.addItem(spacerItem)
|
oliver@100
|
55 |
self.btnOk = QtGui.QPushButton(AboutDialog)
|
oliver@100
|
56 |
self.btnOk.setMinimumSize(QtCore.QSize(100, 0))
|
oliver@100
|
57 |
self.btnOk.setDefault(True)
|
oliver@100
|
58 |
self.btnOk.setObjectName(_fromUtf8("btnOk"))
|
oliver@100
|
59 |
self.horizontalLayout.addWidget(self.btnOk)
|
oliver@102
|
60 |
self.lyMain.addLayout(self.horizontalLayout)
|
oliver@100
|
61 |
|
oliver@100
|
62 |
self.retranslateUi(AboutDialog)
|
oliver@100
|
63 |
QtCore.QMetaObject.connectSlotsByName(AboutDialog)
|
oliver@100
|
64 |
|
oliver@100
|
65 |
def retranslateUi(self, AboutDialog):
|
oliver@100
|
66 |
AboutDialog.setWindowTitle(_translate("AboutDialog", "About OpenSecurity", None))
|
oliver@100
|
67 |
self.btnOk.setText(_translate("AboutDialog", "&Ok", None))
|
oliver@100
|
68 |
|
oliver@100
|
69 |
import opensecurity_rc
|