1.1 --- a/OpenSecurity/bin/ui/ui_ConfigureDialog.py Wed Apr 02 10:27:20 2014 +0200
1.2 +++ b/OpenSecurity/bin/ui/ui_ConfigureDialog.py Wed Apr 02 12:52:22 2014 +0200
1.3 @@ -2,7 +2,7 @@
1.4
1.5 # Form implementation generated from reading ui file 'ConfigureDialog.ui'
1.6 #
1.7 -# Created: Wed Apr 2 10:27:01 2014
1.8 +# Created: Wed Apr 2 12:52:07 2014
1.9 # by: PyQt4 UI code generator 4.10.3
1.10 #
1.11 # WARNING! All changes made in this file will be lost!
1.12 @@ -26,13 +26,13 @@
1.13 class Ui_ConfigureDialog(object):
1.14 def setupUi(self, ConfigureDialog):
1.15 ConfigureDialog.setObjectName(_fromUtf8("ConfigureDialog"))
1.16 - ConfigureDialog.resize(595, 421)
1.17 + ConfigureDialog.resize(400, 455)
1.18 icon = QtGui.QIcon()
1.19 icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/opensecurity_icon_64.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1.20 ConfigureDialog.setWindowIcon(icon)
1.21 ConfigureDialog.setSizeGripEnabled(True)
1.22 - self.lyMain = QtGui.QVBoxLayout(ConfigureDialog)
1.23 - self.lyMain.setObjectName(_fromUtf8("lyMain"))
1.24 + self.verticalLayout_3 = QtGui.QVBoxLayout(ConfigureDialog)
1.25 + self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
1.26 self.lyHeading = QtGui.QHBoxLayout()
1.27 self.lyHeading.setSpacing(8)
1.28 self.lyHeading.setContentsMargins(8, -1, -1, 8)
1.29 @@ -62,44 +62,50 @@
1.30 self.wdStatus.setObjectName(_fromUtf8("wdStatus"))
1.31 self.lyStatus.addWidget(self.wdStatus, 2, 0, 1, 2)
1.32 self.lyHeading.addLayout(self.lyStatus)
1.33 - self.lyMain.addLayout(self.lyHeading)
1.34 - self.lblTemplate = QtGui.QLabel(ConfigureDialog)
1.35 + self.verticalLayout_3.addLayout(self.lyHeading)
1.36 + self.tabConfig = QtGui.QTabWidget(ConfigureDialog)
1.37 + self.tabConfig.setObjectName(_fromUtf8("tabConfig"))
1.38 + self.tbConfig = QtGui.QWidget()
1.39 + self.tbConfig.setObjectName(_fromUtf8("tbConfig"))
1.40 + self.lyConfig = QtGui.QVBoxLayout(self.tbConfig)
1.41 + self.lyConfig.setObjectName(_fromUtf8("lyConfig"))
1.42 + self.lblTemplate = QtGui.QLabel(self.tbConfig)
1.43 self.lblTemplate.setObjectName(_fromUtf8("lblTemplate"))
1.44 - self.lyMain.addWidget(self.lblTemplate)
1.45 - self.tvTemplate = QtGui.QTreeWidget(ConfigureDialog)
1.46 + self.lyConfig.addWidget(self.lblTemplate)
1.47 + self.tvTemplate = QtGui.QTreeWidget(self.tbConfig)
1.48 self.tvTemplate.setMaximumSize(QtCore.QSize(16777215, 64))
1.49 self.tvTemplate.setRootIsDecorated(False)
1.50 self.tvTemplate.setItemsExpandable(False)
1.51 self.tvTemplate.setAllColumnsShowFocus(True)
1.52 self.tvTemplate.setObjectName(_fromUtf8("tvTemplate"))
1.53 - self.lyMain.addWidget(self.tvTemplate)
1.54 + self.lyConfig.addWidget(self.tvTemplate)
1.55 self.lyDownload = QtGui.QHBoxLayout()
1.56 self.lyDownload.setObjectName(_fromUtf8("lyDownload"))
1.57 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
1.58 self.lyDownload.addItem(spacerItem)
1.59 - self.btnDownload = QtGui.QPushButton(ConfigureDialog)
1.60 + self.btnDownload = QtGui.QPushButton(self.tbConfig)
1.61 self.btnDownload.setMinimumSize(QtCore.QSize(100, 0))
1.62 self.btnDownload.setObjectName(_fromUtf8("btnDownload"))
1.63 self.lyDownload.addWidget(self.btnDownload)
1.64 - self.btnImport = QtGui.QPushButton(ConfigureDialog)
1.65 + self.btnImport = QtGui.QPushButton(self.tbConfig)
1.66 self.btnImport.setMinimumSize(QtCore.QSize(100, 0))
1.67 self.btnImport.setObjectName(_fromUtf8("btnImport"))
1.68 self.lyDownload.addWidget(self.btnImport)
1.69 - self.lyMain.addLayout(self.lyDownload)
1.70 - self.lblMachines = QtGui.QLabel(ConfigureDialog)
1.71 + self.lyConfig.addLayout(self.lyDownload)
1.72 + self.lblMachines = QtGui.QLabel(self.tbConfig)
1.73 self.lblMachines.setObjectName(_fromUtf8("lblMachines"))
1.74 - self.lyMain.addWidget(self.lblMachines)
1.75 - self.tvMachines = QtGui.QTreeWidget(ConfigureDialog)
1.76 + self.lyConfig.addWidget(self.lblMachines)
1.77 + self.tvMachines = QtGui.QTreeWidget(self.tbConfig)
1.78 self.tvMachines.setMaximumSize(QtCore.QSize(16777215, 128))
1.79 self.tvMachines.setRootIsDecorated(False)
1.80 self.tvMachines.setItemsExpandable(False)
1.81 self.tvMachines.setAllColumnsShowFocus(True)
1.82 self.tvMachines.setObjectName(_fromUtf8("tvMachines"))
1.83 - self.lyMain.addWidget(self.tvMachines)
1.84 - self.lblProgress = QtGui.QLabel(ConfigureDialog)
1.85 + self.lyConfig.addWidget(self.tvMachines)
1.86 + self.lblProgress = QtGui.QLabel(self.tbConfig)
1.87 self.lblProgress.setObjectName(_fromUtf8("lblProgress"))
1.88 - self.lyMain.addWidget(self.lblProgress)
1.89 - self.edtProgress = QtGui.QPlainTextEdit(ConfigureDialog)
1.90 + self.lyConfig.addWidget(self.lblProgress)
1.91 + self.edtProgress = QtGui.QPlainTextEdit(self.tbConfig)
1.92 font = QtGui.QFont()
1.93 font.setFamily(_fromUtf8("Monospace"))
1.94 font.setPointSize(10)
1.95 @@ -109,7 +115,19 @@
1.96 self.edtProgress.setReadOnly(True)
1.97 self.edtProgress.setPlainText(_fromUtf8(""))
1.98 self.edtProgress.setObjectName(_fromUtf8("edtProgress"))
1.99 - self.lyMain.addWidget(self.edtProgress)
1.100 + self.lyConfig.addWidget(self.edtProgress)
1.101 + self.tabConfig.addTab(self.tbConfig, _fromUtf8(""))
1.102 + self.tbLog = QtGui.QWidget()
1.103 + self.tbLog.setObjectName(_fromUtf8("tbLog"))
1.104 + self.lyLog = QtGui.QVBoxLayout(self.tbLog)
1.105 + self.lyLog.setObjectName(_fromUtf8("lyLog"))
1.106 + self.edtLog = QtGui.QPlainTextEdit(self.tbLog)
1.107 + self.edtLog.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
1.108 + self.edtLog.setReadOnly(True)
1.109 + self.edtLog.setObjectName(_fromUtf8("edtLog"))
1.110 + self.lyLog.addWidget(self.edtLog)
1.111 + self.tabConfig.addTab(self.tbLog, _fromUtf8(""))
1.112 + self.verticalLayout_3.addWidget(self.tabConfig)
1.113 self.lyButton = QtGui.QHBoxLayout()
1.114 self.lyButton.setObjectName(_fromUtf8("lyButton"))
1.115 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
1.116 @@ -127,10 +145,10 @@
1.117 self.btnClose.setDefault(True)
1.118 self.btnClose.setObjectName(_fromUtf8("btnClose"))
1.119 self.lyButton.addWidget(self.btnClose)
1.120 - self.lyMain.addLayout(self.lyButton)
1.121 - self.lyMain.setStretch(7, 1)
1.122 + self.verticalLayout_3.addLayout(self.lyButton)
1.123
1.124 self.retranslateUi(ConfigureDialog)
1.125 + self.tabConfig.setCurrentIndex(0)
1.126 QtCore.QMetaObject.connectSlotsByName(ConfigureDialog)
1.127 ConfigureDialog.setTabOrder(self.edtStatus, self.edtVersion)
1.128 ConfigureDialog.setTabOrder(self.edtVersion, self.tvTemplate)
1.129 @@ -156,6 +174,8 @@
1.130 self.lblMachines.setText(_translate("ConfigureDialog", "Machines:", None))
1.131 self.tvMachines.headerItem().setText(0, _translate("ConfigureDialog", "Name", None))
1.132 self.lblProgress.setText(_translate("ConfigureDialog", "Progress:", None))
1.133 + self.tabConfig.setTabText(self.tabConfig.indexOf(self.tbConfig), _translate("ConfigureDialog", "Configuration", None))
1.134 + self.tabConfig.setTabText(self.tabConfig.indexOf(self.tbLog), _translate("ConfigureDialog", "Log", None))
1.135 self.btnRefresh.setText(_translate("ConfigureDialog", "&Refresh", None))
1.136 self.btnAbout.setText(_translate("ConfigureDialog", "&About", None))
1.137 self.btnClose.setText(_translate("ConfigureDialog", "&Close", None))