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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/ViewmanagerPage.ui'
#
# Created: Wed Feb 13 08:06:25 2008
#      by: PyQt4 UI code generator 4.3-snapshot-20070901
#
# 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,315).size()).expandedTo(ViewmanagerPage.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(ViewmanagerPage)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(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.setSpacing(6)
        self.hboxlayout.setMargin(0)
        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.Expanding,QtGui.QSizePolicy.Fixed)
        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.line = QtGui.QFrame(ViewmanagerPage)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.vboxlayout.addWidget(self.line)

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

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

        self.hboxlayout1 = QtGui.QHBoxLayout()
        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.setMinimum(1)
        self.filenameLengthSpinBox.setMaximum(100)
        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.vboxlayout1.addLayout(self.hboxlayout1)

        self.filenameOnlyCheckBox = QtGui.QCheckBox(self.tabViewGroupBox)
        self.filenameOnlyCheckBox.setObjectName("filenameOnlyCheckBox")
        self.vboxlayout1.addWidget(self.filenameOnlyCheckBox)
        self.vboxlayout.addWidget(self.tabViewGroupBox)

        self.groupBox_7 = QtGui.QGroupBox(ViewmanagerPage)
        self.groupBox_7.setObjectName("groupBox_7")

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

        self.label = QtGui.QLabel(self.groupBox_7)
        self.label.setObjectName("label")
        self.hboxlayout2.addWidget(self.label)

        self.recentFilesSpinBox = QtGui.QSpinBox(self.groupBox_7)
        self.recentFilesSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.recentFilesSpinBox.setMinimum(5)
        self.recentFilesSpinBox.setMaximum(50)
        self.recentFilesSpinBox.setObjectName("recentFilesSpinBox")
        self.hboxlayout2.addWidget(self.recentFilesSpinBox)

        spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem1)
        self.vboxlayout.addWidget(self.groupBox_7)

        spacerItem2 = QtGui.QSpacerItem(388,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem2)
        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> This setting is 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))
        self.filenameOnlyCheckBox.setToolTip(QtGui.QApplication.translate("ViewmanagerPage", "Select to display the filename only", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameOnlyCheckBox.setText(QtGui.QApplication.translate("ViewmanagerPage", "Show filename only", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_7.setTitle(QtGui.QApplication.translate("ViewmanagerPage", "Recent Files", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ViewmanagerPage", "Number of recent files:", None, QtGui.QApplication.UnicodeUTF8))
        self.recentFilesSpinBox.setToolTip(QtGui.QApplication.translate("ViewmanagerPage", "Enter the number of recent files to remember", 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_())
