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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationDialog.ui'
#
# Created: Sat Feb  3 15:33:35 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# 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(QtCore.QSize(QtCore.QRect(0,0,900,650).size()).expandedTo(ConfigurationDialog.minimumSizeHint()))
        ConfigurationDialog.setSizeGripEnabled(True)

        self.gridlayout = QtGui.QGridLayout(ConfigurationDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.buttonBox = QtGui.QDialogButtonBox(ConfigurationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok|QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,1,0,1,1)

        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.Policy(7),QtGui.QSizePolicy.Policy(7))
        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.configStack = QtGui.QStackedWidget(self.configSplitter)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        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.setObjectName("emptyPage")

        self.vboxlayout = QtGui.QVBoxLayout(self.emptyPage)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(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.gridlayout.addWidget(self.configSplitter,0,0,1,1)

        self.retranslateUi(ConfigurationDialog)
        self.configStack.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),ConfigurationDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),ConfigurationDialog.reject)
        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.QDialog()
    ui = Ui_ConfigurationDialog()
    ui.setupUi(ConfigurationDialog)
    ConfigurationDialog.show()
    sys.exit(app.exec_())
