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

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

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

        self.headerLabel = QtGui.QLabel(ViewmanagerPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.addWidget(self.headerLabel)

        self.line9_2 = QtGui.QFrame(ViewmanagerPage)
        self.line9_2.setFrameShape(QtGui.QFrame.HLine)
        self.line9_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_2.setFrameShape(QtGui.QFrame.HLine)
        self.line9_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_2.setObjectName("line9_2")
        self.vboxlayout.addWidget(self.line9_2)

        self.TextLabel1_2_2_2_3 = QtGui.QLabel(ViewmanagerPage)
        self.TextLabel1_2_2_2_3.setObjectName("TextLabel1_2_2_2_3")
        self.vboxlayout.addWidget(self.TextLabel1_2_2_2_3)

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

        self.windowLabel = QtGui.QLabel(ViewmanagerPage)
        self.windowLabel.setObjectName("windowLabel")
        self.hboxlayout.addWidget(self.windowLabel)

        self.windowComboBox = QtGui.QComboBox(ViewmanagerPage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.windowComboBox.sizePolicy().hasHeightForWidth())
        self.windowComboBox.setSizePolicy(sizePolicy)
        self.windowComboBox.setObjectName("windowComboBox")
        self.hboxlayout.addWidget(self.windowComboBox)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.previewPixmap = QtGui.QLabel(ViewmanagerPage)
        self.previewPixmap.setScaledContents(False)
        self.previewPixmap.setAlignment(QtCore.Qt.AlignCenter)
        self.previewPixmap.setObjectName("previewPixmap")
        self.vboxlayout.addWidget(self.previewPixmap)

        self.tabViewGroupBox = QtGui.QGroupBox(ViewmanagerPage)
        self.tabViewGroupBox.setEnabled(False)
        self.tabViewGroupBox.setObjectName("tabViewGroupBox")

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

        self.filenameLengthLabel = QtGui.QLabel(self.tabViewGroupBox)
        self.filenameLengthLabel.setObjectName("filenameLengthLabel")
        self.hboxlayout1.addWidget(self.filenameLengthLabel)

        self.filenameLengthSpinBox = QtGui.QSpinBox(self.tabViewGroupBox)
        self.filenameLengthSpinBox.setMaximum(100)
        self.filenameLengthSpinBox.setMinimum(1)
        self.filenameLengthSpinBox.setProperty("value",QtCore.QVariant(40))
        self.filenameLengthSpinBox.setObjectName("filenameLengthSpinBox")
        self.hboxlayout1.addWidget(self.filenameLengthSpinBox)

        spacerItem = QtGui.QSpacerItem(81,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)
        self.vboxlayout.addWidget(self.tabViewGroupBox)

        spacerItem1 = QtGui.QSpacerItem(388,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)
        self.windowLabel.setBuddy(self.windowComboBox)

        self.retranslateUi(ViewmanagerPage)
        QtCore.QMetaObject.connectSlotsByName(ViewmanagerPage)

    def retranslateUi(self, ViewmanagerPage):
        self.headerLabel.setText(QtGui.QApplication.translate("ViewmanagerPage", "<b>Configure viewmanager</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2_2_2_3.setText(QtGui.QApplication.translate("ViewmanagerPage", "<font color=\"#FF0000\"><b>Note:</b> These settings are activated at the next startup of the application.</font>", None, QtGui.QApplication.UnicodeUTF8))
        self.windowLabel.setText(QtGui.QApplication.translate("ViewmanagerPage", "Window view:", None, QtGui.QApplication.UnicodeUTF8))
        self.windowComboBox.setToolTip(QtGui.QApplication.translate("ViewmanagerPage", "Select the window view type.", None, QtGui.QApplication.UnicodeUTF8))
        self.windowComboBox.setWhatsThis(QtGui.QApplication.translate("ViewmanagerPage", "The kind of window view can be selected from this list. The picture below gives an example of the selected view type.", None, QtGui.QApplication.UnicodeUTF8))
        self.previewPixmap.setToolTip(QtGui.QApplication.translate("ViewmanagerPage", "Preview of selected window view", None, QtGui.QApplication.UnicodeUTF8))
        self.previewPixmap.setWhatsThis(QtGui.QApplication.translate("ViewmanagerPage", "This displays a small preview of the selected window view. This is the way the source windows are displayed in the application.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabViewGroupBox.setTitle(QtGui.QApplication.translate("ViewmanagerPage", "Tabbed View", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameLengthLabel.setText(QtGui.QApplication.translate("ViewmanagerPage", "Filename Length of Tab:", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameLengthSpinBox.setToolTip(QtGui.QApplication.translate("ViewmanagerPage", "Enter the number of characters to be shown in the tab.", None, QtGui.QApplication.UnicodeUTF8))



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