# HG changeset patch # User Oliver Maurhart # Date 1396437724 -7200 # Node ID 5e944224e3847688595aa8a14bec486c2c5fbb6d # Parent d14cb9350dd434096838e82f7fe77ac8ed53c186 kicked log tab again ... no use :( diff -r d14cb9350dd4 -r 5e944224e384 OpenSecurity/bin/ui/ConfigureDialog.ui --- a/OpenSecurity/bin/ui/ConfigureDialog.ui Wed Apr 02 12:54:35 2014 +0200 +++ b/OpenSecurity/bin/ui/ConfigureDialog.ui Wed Apr 02 13:22:04 2014 +0200 @@ -6,8 +6,8 @@ 0 0 - 400 - 455 + 474 + 416 @@ -20,7 +20,7 @@ true - + @@ -56,6 +56,9 @@ Version: + + edtVersion + @@ -70,196 +73,176 @@ Service status: + + edtStatus + - + + tabConfig + - - - 0 + + + Initial Template: - - - Configuration - - - - - - Initial Template: - - - - - - - - 16777215 - 64 - - - - false - - - false - - - true - - - - Name - - - - - Date - - - - - Size - - - - - Path - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 100 - 0 - - - - &Download - - - - - - - - 100 - 0 - - - - &Import - - - - - - - - - Machines: - - - - - - - - 16777215 - 128 - - - - false - - - false - - - true - - - - Name - - - - - - - - Progress: - - - - - - - - Monospace - 10 - - - - Qt::ScrollBarAlwaysOn - - - QPlainTextEdit::NoWrap - - - true - - - - - - - - - - - Log - - - - - - Qt::ScrollBarAlwaysOn - - - QPlainTextEdit::NoWrap - - - true - - - - - + + tvTemplate + + + + + + + + 16777215 + 64 + + + + false + + + false + + + true + + + + Name + + + + + Date + + + + + Size + + + + + Path + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 100 + 0 + + + + &Download + + + + + + + + 100 + 0 + + + + &Import + + + + + + + + + Machines: + + + tvMachines + + + + + + + + 16777215 + 128 + + + + false + + + false + + + true + + + + Name + + + + + + + + Progress: + + + edtProgress + + + + + + + + Monospace + 10 + + + + Qt::ScrollBarAlwaysOn + + + QPlainTextEdit::NoWrap + + + true + + + + @@ -322,8 +305,14 @@ - tabConfig btnAbout + lblTemplate + tvTemplate + tvMachines + lblProgress + edtProgress + lblMachines + edtStatus diff -r d14cb9350dd4 -r 5e944224e384 OpenSecurity/bin/ui/ui_ConfigureDialog.py --- a/OpenSecurity/bin/ui/ui_ConfigureDialog.py Wed Apr 02 12:54:35 2014 +0200 +++ b/OpenSecurity/bin/ui/ui_ConfigureDialog.py Wed Apr 02 13:22:04 2014 +0200 @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'ConfigureDialog.ui' # -# Created: Wed Apr 2 12:54:20 2014 +# Created: Wed Apr 2 13:21:51 2014 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! @@ -26,13 +26,13 @@ class Ui_ConfigureDialog(object): def setupUi(self, ConfigureDialog): ConfigureDialog.setObjectName(_fromUtf8("ConfigureDialog")) - ConfigureDialog.resize(400, 455) + ConfigureDialog.resize(474, 416) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/opensecurity/gfx/opensecurity_icon_64.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) ConfigureDialog.setWindowIcon(icon) ConfigureDialog.setSizeGripEnabled(True) - self.verticalLayout_3 = QtGui.QVBoxLayout(ConfigureDialog) - self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) + self.lyMain = QtGui.QVBoxLayout(ConfigureDialog) + self.lyMain.setObjectName(_fromUtf8("lyMain")) self.lyHeading = QtGui.QHBoxLayout() self.lyHeading.setSpacing(8) self.lyHeading.setContentsMargins(8, -1, -1, 8) @@ -62,50 +62,44 @@ self.wdStatus.setObjectName(_fromUtf8("wdStatus")) self.lyStatus.addWidget(self.wdStatus, 2, 0, 1, 2) self.lyHeading.addLayout(self.lyStatus) - self.verticalLayout_3.addLayout(self.lyHeading) - self.tabConfig = QtGui.QTabWidget(ConfigureDialog) - self.tabConfig.setObjectName(_fromUtf8("tabConfig")) - self.tbConfig = QtGui.QWidget() - self.tbConfig.setObjectName(_fromUtf8("tbConfig")) - self.lyConfig = QtGui.QVBoxLayout(self.tbConfig) - self.lyConfig.setObjectName(_fromUtf8("lyConfig")) - self.lblTemplate = QtGui.QLabel(self.tbConfig) + self.lyMain.addLayout(self.lyHeading) + self.lblTemplate = QtGui.QLabel(ConfigureDialog) self.lblTemplate.setObjectName(_fromUtf8("lblTemplate")) - self.lyConfig.addWidget(self.lblTemplate) - self.tvTemplate = QtGui.QTreeWidget(self.tbConfig) + self.lyMain.addWidget(self.lblTemplate) + self.tvTemplate = QtGui.QTreeWidget(ConfigureDialog) self.tvTemplate.setMaximumSize(QtCore.QSize(16777215, 64)) self.tvTemplate.setRootIsDecorated(False) self.tvTemplate.setItemsExpandable(False) self.tvTemplate.setAllColumnsShowFocus(True) self.tvTemplate.setObjectName(_fromUtf8("tvTemplate")) - self.lyConfig.addWidget(self.tvTemplate) + self.lyMain.addWidget(self.tvTemplate) self.lyDownload = QtGui.QHBoxLayout() self.lyDownload.setObjectName(_fromUtf8("lyDownload")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.lyDownload.addItem(spacerItem) - self.btnDownload = QtGui.QPushButton(self.tbConfig) + self.btnDownload = QtGui.QPushButton(ConfigureDialog) self.btnDownload.setMinimumSize(QtCore.QSize(100, 0)) self.btnDownload.setObjectName(_fromUtf8("btnDownload")) self.lyDownload.addWidget(self.btnDownload) - self.btnImport = QtGui.QPushButton(self.tbConfig) + self.btnImport = QtGui.QPushButton(ConfigureDialog) self.btnImport.setMinimumSize(QtCore.QSize(100, 0)) self.btnImport.setObjectName(_fromUtf8("btnImport")) self.lyDownload.addWidget(self.btnImport) - self.lyConfig.addLayout(self.lyDownload) - self.lblMachines = QtGui.QLabel(self.tbConfig) + self.lyMain.addLayout(self.lyDownload) + self.lblMachines = QtGui.QLabel(ConfigureDialog) self.lblMachines.setObjectName(_fromUtf8("lblMachines")) - self.lyConfig.addWidget(self.lblMachines) - self.tvMachines = QtGui.QTreeWidget(self.tbConfig) + self.lyMain.addWidget(self.lblMachines) + self.tvMachines = QtGui.QTreeWidget(ConfigureDialog) self.tvMachines.setMaximumSize(QtCore.QSize(16777215, 128)) self.tvMachines.setRootIsDecorated(False) self.tvMachines.setItemsExpandable(False) self.tvMachines.setAllColumnsShowFocus(True) self.tvMachines.setObjectName(_fromUtf8("tvMachines")) - self.lyConfig.addWidget(self.tvMachines) - self.lblProgress = QtGui.QLabel(self.tbConfig) + self.lyMain.addWidget(self.tvMachines) + self.lblProgress = QtGui.QLabel(ConfigureDialog) self.lblProgress.setObjectName(_fromUtf8("lblProgress")) - self.lyConfig.addWidget(self.lblProgress) - self.edtProgress = QtGui.QPlainTextEdit(self.tbConfig) + self.lyMain.addWidget(self.lblProgress) + self.edtProgress = QtGui.QPlainTextEdit(ConfigureDialog) font = QtGui.QFont() font.setFamily(_fromUtf8("Monospace")) font.setPointSize(10) @@ -115,20 +109,7 @@ self.edtProgress.setReadOnly(True) self.edtProgress.setPlainText(_fromUtf8("")) self.edtProgress.setObjectName(_fromUtf8("edtProgress")) - self.lyConfig.addWidget(self.edtProgress) - self.tabConfig.addTab(self.tbConfig, _fromUtf8("")) - self.tbLog = QtGui.QWidget() - self.tbLog.setObjectName(_fromUtf8("tbLog")) - self.lyLog = QtGui.QVBoxLayout(self.tbLog) - self.lyLog.setObjectName(_fromUtf8("lyLog")) - self.edtLog = QtGui.QPlainTextEdit(self.tbLog) - self.edtLog.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) - self.edtLog.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap) - self.edtLog.setReadOnly(True) - self.edtLog.setObjectName(_fromUtf8("edtLog")) - self.lyLog.addWidget(self.edtLog) - self.tabConfig.addTab(self.tbLog, _fromUtf8("")) - self.verticalLayout_3.addWidget(self.tabConfig) + self.lyMain.addWidget(self.edtProgress) self.lyButton = QtGui.QHBoxLayout() self.lyButton.setObjectName(_fromUtf8("lyButton")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) @@ -146,10 +127,14 @@ self.btnClose.setDefault(True) self.btnClose.setObjectName(_fromUtf8("btnClose")) self.lyButton.addWidget(self.btnClose) - self.verticalLayout_3.addLayout(self.lyButton) + self.lyMain.addLayout(self.lyButton) + self.lblVersion.setBuddy(self.edtVersion) + self.lblStatus.setBuddy(self.edtStatus) + self.lblTemplate.setBuddy(self.tvTemplate) + self.lblMachines.setBuddy(self.tvMachines) + self.lblProgress.setBuddy(self.edtProgress) self.retranslateUi(ConfigureDialog) - self.tabConfig.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(ConfigureDialog) ConfigureDialog.setTabOrder(self.edtStatus, self.edtVersion) ConfigureDialog.setTabOrder(self.edtVersion, self.tvTemplate) @@ -175,8 +160,6 @@ self.lblMachines.setText(_translate("ConfigureDialog", "Machines:", None)) self.tvMachines.headerItem().setText(0, _translate("ConfigureDialog", "Name", None)) self.lblProgress.setText(_translate("ConfigureDialog", "Progress:", None)) - self.tabConfig.setTabText(self.tabConfig.indexOf(self.tbConfig), _translate("ConfigureDialog", "Configuration", None)) - self.tabConfig.setTabText(self.tabConfig.indexOf(self.tbLog), _translate("ConfigureDialog", "Log", None)) self.btnRefresh.setText(_translate("ConfigureDialog", "&Refresh", None)) self.btnAbout.setText(_translate("ConfigureDialog", "&About", None)) self.btnClose.setText(_translate("ConfigureDialog", "&Close", None))