# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'PreferencesDialog.ui' # # Created: Wed Aug 27 16:00:53 2008 # by: PyQt4 UI code generator 4.3.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_PreferencesDialog(object): def setupUi(self, PreferencesDialog): PreferencesDialog.setObjectName("PreferencesDialog") PreferencesDialog.resize(QtCore.QSize(QtCore.QRect(0,0,594,574).size()).expandedTo(PreferencesDialog.minimumSizeHint())) self.vboxlayout = QtGui.QVBoxLayout(PreferencesDialog) self.vboxlayout.setSpacing(4) self.vboxlayout.setMargin(2) self.vboxlayout.setObjectName("vboxlayout") self.tabWidget = QtGui.QTabWidget(PreferencesDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtGui.QWidget() self.tab.setObjectName("tab") self.hboxlayout = QtGui.QHBoxLayout(self.tab) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(2) self.hboxlayout.setObjectName("hboxlayout") self.categoriesTreeWidget = QtGui.QTreeWidget(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.categoriesTreeWidget.sizePolicy().hasHeightForWidth()) self.categoriesTreeWidget.setSizePolicy(sizePolicy) self.categoriesTreeWidget.setMinimumSize(QtCore.QSize(150,0)) self.categoriesTreeWidget.setMaximumSize(QtCore.QSize(150,16777215)) self.categoriesTreeWidget.setObjectName("categoriesTreeWidget") self.hboxlayout.addWidget(self.categoriesTreeWidget) self.prefsStackedWidget = QtGui.QStackedWidget(self.tab) self.prefsStackedWidget.setObjectName("prefsStackedWidget") #self.EmptyPage = QtGui.QWidget() #self.EmptyPage.setObjectName("EmptyPage") #self.prefsStackedWidget.addWidget(self.EmptyPage) self.hboxlayout.addWidget(self.prefsStackedWidget) self.tabWidget.addTab(self.tab,"") self.vboxlayout.addWidget(self.tabWidget) self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName("hboxlayout1") self.whatsThisToolButton = QtGui.QToolButton(PreferencesDialog) self.whatsThisToolButton.setObjectName("whatsThisToolButton") self.hboxlayout1.addWidget(self.whatsThisToolButton) spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) self.hboxlayout1.addItem(spacerItem) self.okButton = QtGui.QPushButton(PreferencesDialog) self.okButton.setObjectName("okButton") self.hboxlayout1.addWidget(self.okButton) self.vboxlayout.addLayout(self.hboxlayout1) self.retranslateUi(PreferencesDialog) self.tabWidget.setCurrentIndex(0) self.prefsStackedWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(PreferencesDialog) def retranslateUi(self, PreferencesDialog): PreferencesDialog.setWindowTitle(QtGui.QApplication.translate("PreferencesDialog", "Preferences", None, QtGui.QApplication.UnicodeUTF8)) self.categoriesTreeWidget.headerItem().setText(0,QtGui.QApplication.translate("PreferencesDialog", "Categories", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("PreferencesDialog", "System Options", None, QtGui.QApplication.UnicodeUTF8)) self.okButton.setText(QtGui.QApplication.translate("PreferencesDialog", "OK", None, QtGui.QApplication.UnicodeUTF8))