kicked log tab again ... no use :(
1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'ConfigureDialog.ui'
5 # Created: Wed Apr 2 13:21:51 2014
6 # by: PyQt4 UI code generator 4.10.3
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
13 _fromUtf8 = QtCore.QString.fromUtf8
14 except AttributeError:
19 _encoding = QtGui.QApplication.UnicodeUTF8
20 def _translate(context, text, disambig):
21 return QtGui.QApplication.translate(context, text, disambig, _encoding)
22 except AttributeError:
23 def _translate(context, text, disambig):
24 return QtGui.QApplication.translate(context, text, disambig)
26 class Ui_ConfigureDialog(object):
27 def setupUi(self, ConfigureDialog):
28 ConfigureDialog.setObjectName(_fromUtf8("ConfigureDialog"))
29 ConfigureDialog.resize(474, 416)
31 icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/opensecurity_icon_64.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
32 ConfigureDialog.setWindowIcon(icon)
33 ConfigureDialog.setSizeGripEnabled(True)
34 self.lyMain = QtGui.QVBoxLayout(ConfigureDialog)
35 self.lyMain.setObjectName(_fromUtf8("lyMain"))
36 self.lyHeading = QtGui.QHBoxLayout()
37 self.lyHeading.setSpacing(8)
38 self.lyHeading.setContentsMargins(8, -1, -1, 8)
39 self.lyHeading.setObjectName(_fromUtf8("lyHeading"))
40 self.lblIcon = QtGui.QLabel(ConfigureDialog)
41 self.lblIcon.setText(_fromUtf8(""))
42 self.lblIcon.setPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/opensecurity_configure_64.png")))
43 self.lblIcon.setObjectName(_fromUtf8("lblIcon"))
44 self.lyHeading.addWidget(self.lblIcon)
45 self.lyStatus = QtGui.QGridLayout()
46 self.lyStatus.setObjectName(_fromUtf8("lyStatus"))
47 self.edtStatus = QtGui.QLineEdit(ConfigureDialog)
48 self.edtStatus.setReadOnly(True)
49 self.edtStatus.setObjectName(_fromUtf8("edtStatus"))
50 self.lyStatus.addWidget(self.edtStatus, 0, 1, 1, 1)
51 self.lblVersion = QtGui.QLabel(ConfigureDialog)
52 self.lblVersion.setObjectName(_fromUtf8("lblVersion"))
53 self.lyStatus.addWidget(self.lblVersion, 1, 0, 1, 1)
54 self.edtVersion = QtGui.QLineEdit(ConfigureDialog)
55 self.edtVersion.setReadOnly(True)
56 self.edtVersion.setObjectName(_fromUtf8("edtVersion"))
57 self.lyStatus.addWidget(self.edtVersion, 1, 1, 1, 1)
58 self.lblStatus = QtGui.QLabel(ConfigureDialog)
59 self.lblStatus.setObjectName(_fromUtf8("lblStatus"))
60 self.lyStatus.addWidget(self.lblStatus, 0, 0, 1, 1)
61 self.wdStatus = QtGui.QWidget(ConfigureDialog)
62 self.wdStatus.setObjectName(_fromUtf8("wdStatus"))
63 self.lyStatus.addWidget(self.wdStatus, 2, 0, 1, 2)
64 self.lyHeading.addLayout(self.lyStatus)
65 self.lyMain.addLayout(self.lyHeading)
66 self.lblTemplate = QtGui.QLabel(ConfigureDialog)
67 self.lblTemplate.setObjectName(_fromUtf8("lblTemplate"))
68 self.lyMain.addWidget(self.lblTemplate)
69 self.tvTemplate = QtGui.QTreeWidget(ConfigureDialog)
70 self.tvTemplate.setMaximumSize(QtCore.QSize(16777215, 64))
71 self.tvTemplate.setRootIsDecorated(False)
72 self.tvTemplate.setItemsExpandable(False)
73 self.tvTemplate.setAllColumnsShowFocus(True)
74 self.tvTemplate.setObjectName(_fromUtf8("tvTemplate"))
75 self.lyMain.addWidget(self.tvTemplate)
76 self.lyDownload = QtGui.QHBoxLayout()
77 self.lyDownload.setObjectName(_fromUtf8("lyDownload"))
78 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
79 self.lyDownload.addItem(spacerItem)
80 self.btnDownload = QtGui.QPushButton(ConfigureDialog)
81 self.btnDownload.setMinimumSize(QtCore.QSize(100, 0))
82 self.btnDownload.setObjectName(_fromUtf8("btnDownload"))
83 self.lyDownload.addWidget(self.btnDownload)
84 self.btnImport = QtGui.QPushButton(ConfigureDialog)
85 self.btnImport.setMinimumSize(QtCore.QSize(100, 0))
86 self.btnImport.setObjectName(_fromUtf8("btnImport"))
87 self.lyDownload.addWidget(self.btnImport)
88 self.lyMain.addLayout(self.lyDownload)
89 self.lblMachines = QtGui.QLabel(ConfigureDialog)
90 self.lblMachines.setObjectName(_fromUtf8("lblMachines"))
91 self.lyMain.addWidget(self.lblMachines)
92 self.tvMachines = QtGui.QTreeWidget(ConfigureDialog)
93 self.tvMachines.setMaximumSize(QtCore.QSize(16777215, 128))
94 self.tvMachines.setRootIsDecorated(False)
95 self.tvMachines.setItemsExpandable(False)
96 self.tvMachines.setAllColumnsShowFocus(True)
97 self.tvMachines.setObjectName(_fromUtf8("tvMachines"))
98 self.lyMain.addWidget(self.tvMachines)
99 self.lblProgress = QtGui.QLabel(ConfigureDialog)
100 self.lblProgress.setObjectName(_fromUtf8("lblProgress"))
101 self.lyMain.addWidget(self.lblProgress)
102 self.edtProgress = QtGui.QPlainTextEdit(ConfigureDialog)
104 font.setFamily(_fromUtf8("Monospace"))
105 font.setPointSize(10)
106 self.edtProgress.setFont(font)
107 self.edtProgress.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
108 self.edtProgress.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
109 self.edtProgress.setReadOnly(True)
110 self.edtProgress.setPlainText(_fromUtf8(""))
111 self.edtProgress.setObjectName(_fromUtf8("edtProgress"))
112 self.lyMain.addWidget(self.edtProgress)
113 self.lyButton = QtGui.QHBoxLayout()
114 self.lyButton.setObjectName(_fromUtf8("lyButton"))
115 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
116 self.lyButton.addItem(spacerItem1)
117 self.btnRefresh = QtGui.QPushButton(ConfigureDialog)
118 self.btnRefresh.setMinimumSize(QtCore.QSize(100, 0))
119 self.btnRefresh.setObjectName(_fromUtf8("btnRefresh"))
120 self.lyButton.addWidget(self.btnRefresh)
121 self.btnAbout = QtGui.QPushButton(ConfigureDialog)
122 self.btnAbout.setMinimumSize(QtCore.QSize(100, 0))
123 self.btnAbout.setObjectName(_fromUtf8("btnAbout"))
124 self.lyButton.addWidget(self.btnAbout)
125 self.btnClose = QtGui.QPushButton(ConfigureDialog)
126 self.btnClose.setMinimumSize(QtCore.QSize(100, 0))
127 self.btnClose.setDefault(True)
128 self.btnClose.setObjectName(_fromUtf8("btnClose"))
129 self.lyButton.addWidget(self.btnClose)
130 self.lyMain.addLayout(self.lyButton)
131 self.lblVersion.setBuddy(self.edtVersion)
132 self.lblStatus.setBuddy(self.edtStatus)
133 self.lblTemplate.setBuddy(self.tvTemplate)
134 self.lblMachines.setBuddy(self.tvMachines)
135 self.lblProgress.setBuddy(self.edtProgress)
137 self.retranslateUi(ConfigureDialog)
138 QtCore.QMetaObject.connectSlotsByName(ConfigureDialog)
139 ConfigureDialog.setTabOrder(self.edtStatus, self.edtVersion)
140 ConfigureDialog.setTabOrder(self.edtVersion, self.tvTemplate)
141 ConfigureDialog.setTabOrder(self.tvTemplate, self.btnDownload)
142 ConfigureDialog.setTabOrder(self.btnDownload, self.btnImport)
143 ConfigureDialog.setTabOrder(self.btnImport, self.tvMachines)
144 ConfigureDialog.setTabOrder(self.tvMachines, self.edtProgress)
145 ConfigureDialog.setTabOrder(self.edtProgress, self.btnRefresh)
146 ConfigureDialog.setTabOrder(self.btnRefresh, self.btnAbout)
147 ConfigureDialog.setTabOrder(self.btnAbout, self.btnClose)
149 def retranslateUi(self, ConfigureDialog):
150 ConfigureDialog.setWindowTitle(_translate("ConfigureDialog", "OpenSecurity Configuration", None))
151 self.lblVersion.setText(_translate("ConfigureDialog", "Version:", None))
152 self.lblStatus.setText(_translate("ConfigureDialog", "Service status:", None))
153 self.lblTemplate.setText(_translate("ConfigureDialog", "Initial Template:", None))
154 self.tvTemplate.headerItem().setText(0, _translate("ConfigureDialog", "Name", None))
155 self.tvTemplate.headerItem().setText(1, _translate("ConfigureDialog", "Date", None))
156 self.tvTemplate.headerItem().setText(2, _translate("ConfigureDialog", "Size", None))
157 self.tvTemplate.headerItem().setText(3, _translate("ConfigureDialog", "Path", None))
158 self.btnDownload.setText(_translate("ConfigureDialog", "&Download", None))
159 self.btnImport.setText(_translate("ConfigureDialog", "&Import", None))
160 self.lblMachines.setText(_translate("ConfigureDialog", "Machines:", None))
161 self.tvMachines.headerItem().setText(0, _translate("ConfigureDialog", "Name", None))
162 self.lblProgress.setText(_translate("ConfigureDialog", "Progress:", None))
163 self.btnRefresh.setText(_translate("ConfigureDialog", "&Refresh", None))
164 self.btnAbout.setText(_translate("ConfigureDialog", "&About", None))
165 self.btnClose.setText(_translate("ConfigureDialog", "&Close", None))
167 import opensecurity_rc