# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationDialog.ui'
#
# Created: Sun Jul 20 17:00:44 2008
#      by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ConfigurationDialog(object):
    def setupUi(self, ConfigurationDialog):
        ConfigurationDialog.setObjectName("ConfigurationDialog")
        ConfigurationDialog.resize(900,650)
        ConfigurationDialog.setProperty("sizeGripEnabled",QtCore.QVariant(True))
        self.verticalLayout_2 = QtGui.QVBoxLayout(ConfigurationDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.configSplitter = QtGui.QSplitter(ConfigurationDialog)
        self.configSplitter.setOrientation(QtCore.Qt.Horizontal)
        self.configSplitter.setObjectName("configSplitter")
        self.configList = QtGui.QTreeWidget(self.configSplitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(30)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.configList.sizePolicy().hasHeightForWidth())
        self.configList.setSizePolicy(sizePolicy)
        self.configList.setSortingEnabled(True)
        self.configList.setObjectName("configList")
        self.scrollArea = QtGui.QScrollArea(self.configSplitter)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea)
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0,0,234,603))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.configStack = QtGui.QStackedWidget(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(70)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.configStack.sizePolicy().hasHeightForWidth())
        self.configStack.setSizePolicy(sizePolicy)
        self.configStack.setFrameShape(QtGui.QFrame.Box)
        self.configStack.setFrameShadow(QtGui.QFrame.Sunken)
        self.configStack.setObjectName("configStack")
        self.emptyPage = QtGui.QWidget()
        self.emptyPage.setGeometry(QtCore.QRect(2,2,222,591))
        self.emptyPage.setObjectName("emptyPage")
        self.vboxlayout = QtGui.QVBoxLayout(self.emptyPage)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setObjectName("vboxlayout")
        spacerItem = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)
        self.emptyPagePixmap = QtGui.QLabel(self.emptyPage)
        self.emptyPagePixmap.setAlignment(QtCore.Qt.AlignCenter)
        self.emptyPagePixmap.setObjectName("emptyPagePixmap")
        self.vboxlayout.addWidget(self.emptyPagePixmap)
        self.textLabel1 = QtGui.QLabel(self.emptyPage)
        self.textLabel1.setAlignment(QtCore.Qt.AlignCenter)
        self.textLabel1.setObjectName("textLabel1")
        self.vboxlayout.addWidget(self.textLabel1)
        spacerItem1 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)
        self.configStack.addWidget(self.emptyPage)
        self.verticalLayout.addWidget(self.configStack)
        
#       -- uncomment the line below to see correct behavior --
#        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
#        
        self.verticalLayout_2.addWidget(self.configSplitter)
        self.buttonBox = QtGui.QDialogButtonBox(ConfigurationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok|QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ConfigurationDialog)
        self.configStack.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ConfigurationDialog)
        ConfigurationDialog.setTabOrder(self.configList,self.configStack)

    def retranslateUi(self, ConfigurationDialog):
        ConfigurationDialog.setWindowTitle(QtGui.QApplication.translate("ConfigurationDialog", "Preferences", None, QtGui.QApplication.UnicodeUTF8))
        self.configList.headerItem().setText(0,QtGui.QApplication.translate("ConfigurationDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("ConfigurationDialog", "Please select an entry of the list \n"
"to display the configuration page.", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    ConfigurationDialog = QtGui.QWidget()
    ui = Ui_ConfigurationDialog()
    ui.setupUi(ConfigurationDialog)
    ConfigurationDialog.show()
    sys.exit(app.exec_())

