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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/InterfacePage.ui'
#
# Created: Sat Feb  3 15:33:43 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_InterfacePage(object):
    def setupUi(self, InterfacePage):
        InterfacePage.setObjectName("InterfacePage")
        InterfacePage.resize(QtCore.QSize(QtCore.QRect(0,0,549,549).size()).expandedTo(InterfacePage.minimumSizeHint()))

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

        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.label_2 = QtGui.QLabel(InterfacePage)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2,0,0,1,1)

        self.layoutLabel = QtGui.QLabel(InterfacePage)
        self.layoutLabel.setObjectName("layoutLabel")
        self.gridlayout1.addWidget(self.layoutLabel,5,0,1,1)

        self.TextLabel1_2_2_2 = QtGui.QLabel(InterfacePage)
        self.TextLabel1_2_2_2.setObjectName("TextLabel1_2_2_2")
        self.gridlayout1.addWidget(self.TextLabel1_2_2_2,3,0,1,3)

        self.languageComboBox = QtGui.QComboBox(InterfacePage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.languageComboBox.sizePolicy().hasHeightForWidth())
        self.languageComboBox.setSizePolicy(sizePolicy)
        self.languageComboBox.setObjectName("languageComboBox")
        self.gridlayout1.addWidget(self.languageComboBox,4,1,1,2)

        self.line = QtGui.QFrame(InterfacePage)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout1.addWidget(self.line,2,0,1,3)

        self.languageLabel = QtGui.QLabel(InterfacePage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(0),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.languageLabel.sizePolicy().hasHeightForWidth())
        self.languageLabel.setSizePolicy(sizePolicy)
        self.languageLabel.setObjectName("languageLabel")
        self.gridlayout1.addWidget(self.languageLabel,4,0,1,1)

        self.label_3 = QtGui.QLabel(InterfacePage)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3,1,0,1,1)

        self.styleSheetButton = QtGui.QPushButton(InterfacePage)
        self.styleSheetButton.setObjectName("styleSheetButton")
        self.gridlayout1.addWidget(self.styleSheetButton,1,2,1,1)

        self.styleComboBox = QtGui.QComboBox(InterfacePage)
        self.styleComboBox.setObjectName("styleComboBox")
        self.gridlayout1.addWidget(self.styleComboBox,0,1,1,2)

        self.styleSheetEdit = QtGui.QLineEdit(InterfacePage)
        self.styleSheetEdit.setObjectName("styleSheetEdit")
        self.gridlayout1.addWidget(self.styleSheetEdit,1,1,1,1)

        self.layoutComboBox = QtGui.QComboBox(InterfacePage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.layoutComboBox.sizePolicy().hasHeightForWidth())
        self.layoutComboBox.setSizePolicy(sizePolicy)
        self.layoutComboBox.setObjectName("layoutComboBox")
        self.gridlayout1.addWidget(self.layoutComboBox,5,1,1,2)
        self.gridlayout.addLayout(self.gridlayout1,4,0,1,2)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.groupBox = QtGui.QGroupBox(InterfacePage)
        self.groupBox.setObjectName("groupBox")

        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.separateShellButton = QtGui.QRadioButton(self.groupBox)
        self.separateShellButton.setObjectName("separateShellButton")
        self.vboxlayout.addWidget(self.separateShellButton)

        self.debugEmbeddedShellButton = QtGui.QRadioButton(self.groupBox)
        self.debugEmbeddedShellButton.setObjectName("debugEmbeddedShellButton")
        self.vboxlayout.addWidget(self.debugEmbeddedShellButton)
        self.hboxlayout.addWidget(self.groupBox)

        self.groupBox_2 = QtGui.QGroupBox(InterfacePage)
        self.groupBox_2.setObjectName("groupBox_2")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_2)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.separateFileBrowserButton = QtGui.QRadioButton(self.groupBox_2)
        self.separateFileBrowserButton.setObjectName("separateFileBrowserButton")
        self.vboxlayout1.addWidget(self.separateFileBrowserButton)

        self.debugEmbeddedFileBrowserButton = QtGui.QRadioButton(self.groupBox_2)
        self.debugEmbeddedFileBrowserButton.setObjectName("debugEmbeddedFileBrowserButton")
        self.vboxlayout1.addWidget(self.debugEmbeddedFileBrowserButton)

        self.projectEmbeddedFileBrowserButton = QtGui.QRadioButton(self.groupBox_2)
        self.projectEmbeddedFileBrowserButton.setObjectName("projectEmbeddedFileBrowserButton")
        self.vboxlayout1.addWidget(self.projectEmbeddedFileBrowserButton)
        self.hboxlayout.addWidget(self.groupBox_2)
        self.gridlayout.addLayout(self.hboxlayout,5,0,1,2)

        spacerItem = QtGui.QSpacerItem(531,51,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem,6,0,1,2)

        self.headerLabel = QtGui.QLabel(InterfacePage)
        self.headerLabel.setObjectName("headerLabel")
        self.gridlayout.addWidget(self.headerLabel,0,0,1,2)

        self.line9 = QtGui.QFrame(InterfacePage)
        self.line9.setFrameShape(QtGui.QFrame.HLine)
        self.line9.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9.setFrameShape(QtGui.QFrame.HLine)
        self.line9.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9.setObjectName("line9")
        self.gridlayout.addWidget(self.line9,1,0,1,2)

        self.groupBox_4 = QtGui.QGroupBox(InterfacePage)
        self.groupBox_4.setObjectName("groupBox_4")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.groupBox_4)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.uiBrowsersListFoldersFirstCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.uiBrowsersListFoldersFirstCheckBox.setObjectName("uiBrowsersListFoldersFirstCheckBox")
        self.vboxlayout2.addWidget(self.uiBrowsersListFoldersFirstCheckBox)

        self.uiBrowsersHideNonPublicCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.uiBrowsersHideNonPublicCheckBox.setObjectName("uiBrowsersHideNonPublicCheckBox")
        self.vboxlayout2.addWidget(self.uiBrowsersHideNonPublicCheckBox)
        self.gridlayout.addWidget(self.groupBox_4,2,0,1,1)

        self.groupBox_3 = QtGui.QGroupBox(InterfacePage)
        self.groupBox_3.setObjectName("groupBox_3")

        self.vboxlayout3 = QtGui.QVBoxLayout(self.groupBox_3)
        self.vboxlayout3.setMargin(6)
        self.vboxlayout3.setSpacing(6)
        self.vboxlayout3.setObjectName("vboxlayout3")

        self.iconProviderCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.iconProviderCheckBox.setObjectName("iconProviderCheckBox")
        self.vboxlayout3.addWidget(self.iconProviderCheckBox)

        self.uiKdeDialogsCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.uiKdeDialogsCheckBox.setObjectName("uiKdeDialogsCheckBox")
        self.vboxlayout3.addWidget(self.uiKdeDialogsCheckBox)
        self.gridlayout.addWidget(self.groupBox_3,2,1,1,1)

        self.uiCaptionShowsFilenameGroupBox = QtGui.QGroupBox(InterfacePage)
        self.uiCaptionShowsFilenameGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.uiCaptionShowsFilenameGroupBox.setCheckable(True)
        self.uiCaptionShowsFilenameGroupBox.setObjectName("uiCaptionShowsFilenameGroupBox")

        self.hboxlayout1 = QtGui.QHBoxLayout(self.uiCaptionShowsFilenameGroupBox)
        self.hboxlayout1.setMargin(6)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.label = QtGui.QLabel(self.uiCaptionShowsFilenameGroupBox)
        self.label.setObjectName("label")
        self.hboxlayout1.addWidget(self.label)

        self.filenameLengthSpinBox = QtGui.QSpinBox(self.uiCaptionShowsFilenameGroupBox)
        self.filenameLengthSpinBox.setMaximum(999)
        self.filenameLengthSpinBox.setMinimum(10)
        self.filenameLengthSpinBox.setSingleStep(10)
        self.filenameLengthSpinBox.setProperty("value",QtCore.QVariant(100))
        self.filenameLengthSpinBox.setObjectName("filenameLengthSpinBox")
        self.hboxlayout1.addWidget(self.filenameLengthSpinBox)

        spacerItem1 = QtGui.QSpacerItem(31,23,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.gridlayout.addWidget(self.uiCaptionShowsFilenameGroupBox,3,0,1,2)

        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setObjectName("hboxlayout2")

        spacerItem2 = QtGui.QSpacerItem(30,0,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem2)

        self.resetLayoutButton = QtGui.QPushButton(InterfacePage)
        self.resetLayoutButton.setObjectName("resetLayoutButton")
        self.hboxlayout2.addWidget(self.resetLayoutButton)

        spacerItem3 = QtGui.QSpacerItem(30,0,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem3)
        self.gridlayout.addLayout(self.hboxlayout2,7,0,1,2)
        self.languageLabel.setBuddy(self.languageComboBox)

        self.retranslateUi(InterfacePage)
        QtCore.QMetaObject.connectSlotsByName(InterfacePage)
        InterfacePage.setTabOrder(self.uiBrowsersListFoldersFirstCheckBox,self.uiBrowsersHideNonPublicCheckBox)
        InterfacePage.setTabOrder(self.uiBrowsersHideNonPublicCheckBox,self.iconProviderCheckBox)
        InterfacePage.setTabOrder(self.iconProviderCheckBox,self.uiKdeDialogsCheckBox)
        InterfacePage.setTabOrder(self.uiKdeDialogsCheckBox,self.uiCaptionShowsFilenameGroupBox)
        InterfacePage.setTabOrder(self.uiCaptionShowsFilenameGroupBox,self.filenameLengthSpinBox)
        InterfacePage.setTabOrder(self.filenameLengthSpinBox,self.styleComboBox)
        InterfacePage.setTabOrder(self.styleComboBox,self.styleSheetEdit)
        InterfacePage.setTabOrder(self.styleSheetEdit,self.styleSheetButton)
        InterfacePage.setTabOrder(self.styleSheetButton,self.languageComboBox)
        InterfacePage.setTabOrder(self.languageComboBox,self.layoutComboBox)
        InterfacePage.setTabOrder(self.layoutComboBox,self.separateShellButton)
        InterfacePage.setTabOrder(self.separateShellButton,self.debugEmbeddedShellButton)
        InterfacePage.setTabOrder(self.debugEmbeddedShellButton,self.separateFileBrowserButton)
        InterfacePage.setTabOrder(self.separateFileBrowserButton,self.debugEmbeddedFileBrowserButton)
        InterfacePage.setTabOrder(self.debugEmbeddedFileBrowserButton,self.projectEmbeddedFileBrowserButton)
        InterfacePage.setTabOrder(self.projectEmbeddedFileBrowserButton,self.resetLayoutButton)

    def retranslateUi(self, InterfacePage):
        self.label_2.setText(QtGui.QApplication.translate("InterfacePage", "Style:", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutLabel.setText(QtGui.QApplication.translate("InterfacePage", "Layout:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2_2_2.setText(QtGui.QApplication.translate("InterfacePage", "<font color=\"#FF0000\"><b>Note:</b> These settings are activated at the next startup of the application.</font>", None, QtGui.QApplication.UnicodeUTF8))
        self.languageComboBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select the interface language.", None, QtGui.QApplication.UnicodeUTF8))
        self.languageComboBox.setWhatsThis(QtGui.QApplication.translate("InterfacePage", "The interface language can be selected from this list. If \"system\" is selected, the interface language is determined by the system. The selection of \"none\" means, that the default language will be used.", None, QtGui.QApplication.UnicodeUTF8))
        self.languageLabel.setText(QtGui.QApplication.translate("InterfacePage", "Language:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("InterfacePage", "Style Sheet:", None, QtGui.QApplication.UnicodeUTF8))
        self.styleSheetButton.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select the style sheet file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.styleSheetButton.setText(QtGui.QApplication.translate("InterfacePage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.styleComboBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select the interface style", None, QtGui.QApplication.UnicodeUTF8))
        self.styleSheetEdit.setToolTip(QtGui.QApplication.translate("InterfacePage", "Enter the name of the style sheet file", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutComboBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select the layout type.", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutComboBox.addItem(QtGui.QApplication.translate("InterfacePage", "Dock Windows", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutComboBox.addItem(QtGui.QApplication.translate("InterfacePage", "Floating Windows ", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("InterfacePage", "Shell", None, QtGui.QApplication.UnicodeUTF8))
        self.separateShellButton.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to get a separate shell window", None, QtGui.QApplication.UnicodeUTF8))
        self.separateShellButton.setText(QtGui.QApplication.translate("InterfacePage", "separate window", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEmbeddedShellButton.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to embed the shell in the Debug-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEmbeddedShellButton.setText(QtGui.QApplication.translate("InterfacePage", "embed in Debug-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("InterfacePage", "File-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.separateFileBrowserButton.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to get a separate file browser window", None, QtGui.QApplication.UnicodeUTF8))
        self.separateFileBrowserButton.setText(QtGui.QApplication.translate("InterfacePage", "separate window", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEmbeddedFileBrowserButton.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to embed the file browser in the Debug-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEmbeddedFileBrowserButton.setText(QtGui.QApplication.translate("InterfacePage", "embed in Debug-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.projectEmbeddedFileBrowserButton.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to embed the file browser in the Project-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.projectEmbeddedFileBrowserButton.setText(QtGui.QApplication.translate("InterfacePage", "embed in Project-Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.headerLabel.setText(QtGui.QApplication.translate("InterfacePage", "<b>Configure the interface</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("InterfacePage", "Browsers", None, QtGui.QApplication.UnicodeUTF8))
        self.uiBrowsersListFoldersFirstCheckBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select, if folders should be listed first in the various browsers", None, QtGui.QApplication.UnicodeUTF8))
        self.uiBrowsersListFoldersFirstCheckBox.setText(QtGui.QApplication.translate("InterfacePage", "List folders first in Browsers", None, QtGui.QApplication.UnicodeUTF8))
        self.uiBrowsersHideNonPublicCheckBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to hide non public classes, methods and attributes in the browsers.", None, QtGui.QApplication.UnicodeUTF8))
        self.uiBrowsersHideNonPublicCheckBox.setText(QtGui.QApplication.translate("InterfacePage", "Hide non public members in Browsers", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("InterfacePage", "Dialogs", None, QtGui.QApplication.UnicodeUTF8))
        self.iconProviderCheckBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select to use eric4 icons in file dialogs", None, QtGui.QApplication.UnicodeUTF8))
        self.iconProviderCheckBox.setText(QtGui.QApplication.translate("InterfacePage", "Use eric4 icons in file dialogs", None, QtGui.QApplication.UnicodeUTF8))
        self.uiKdeDialogsCheckBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select, if KDE 4 dialogs should be used", None, QtGui.QApplication.UnicodeUTF8))
        self.uiKdeDialogsCheckBox.setText(QtGui.QApplication.translate("InterfacePage", "Use KDE 4 dialogs", None, QtGui.QApplication.UnicodeUTF8))
        self.uiCaptionShowsFilenameGroupBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Select, if the caption of the main window should show the filename of the current editor", None, QtGui.QApplication.UnicodeUTF8))
        self.uiCaptionShowsFilenameGroupBox.setTitle(QtGui.QApplication.translate("InterfacePage", "Caption shows filename", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("InterfacePage", "Filename Length", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameLengthSpinBox.setToolTip(QtGui.QApplication.translate("InterfacePage", "Enter the number of characters to be shown in the main window title.", None, QtGui.QApplication.UnicodeUTF8))
        self.resetLayoutButton.setText(QtGui.QApplication.translate("InterfacePage", "Reset layout to factory defaults", None, QtGui.QApplication.UnicodeUTF8))



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