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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/MultiProjectPage.ui'
#
# Created: Sun Feb 17 15:35:26 2008
#      by: PyQt4 UI code generator 4.3-snapshot-20071225
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MultiProjectPage(object):
    def setupUi(self, MultiProjectPage):
        MultiProjectPage.setObjectName("MultiProjectPage")
        MultiProjectPage.resize(QtCore.QSize(QtCore.QRect(0,0,494,357).size()).expandedTo(MultiProjectPage.minimumSizeHint()))

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

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

        self.line8 = QtGui.QFrame(MultiProjectPage)
        self.line8.setFrameShape(QtGui.QFrame.HLine)
        self.line8.setFrameShadow(QtGui.QFrame.Sunken)
        self.line8.setFrameShape(QtGui.QFrame.HLine)
        self.line8.setFrameShadow(QtGui.QFrame.Sunken)
        self.line8.setObjectName("line8")
        self.vboxlayout.addWidget(self.line8)

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

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

        self.openMasterAutomaticallyCheckBox = QtGui.QCheckBox(self.groupBox)
        self.openMasterAutomaticallyCheckBox.setObjectName("openMasterAutomaticallyCheckBox")
        self.vboxlayout1.addWidget(self.openMasterAutomaticallyCheckBox)
        self.vboxlayout.addWidget(self.groupBox)

        self.groupBox_6 = QtGui.QGroupBox(MultiProjectPage)
        self.groupBox_6.setObjectName("groupBox_6")

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

        self.multiProjectTimestampCheckBox = QtGui.QCheckBox(self.groupBox_6)
        self.multiProjectTimestampCheckBox.setObjectName("multiProjectTimestampCheckBox")
        self.vboxlayout2.addWidget(self.multiProjectTimestampCheckBox)
        self.vboxlayout.addWidget(self.groupBox_6)

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

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

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

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

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

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.vboxlayout3.addLayout(self.hboxlayout)
        self.vboxlayout.addWidget(self.groupBox_7)

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

        self.retranslateUi(MultiProjectPage)
        QtCore.QMetaObject.connectSlotsByName(MultiProjectPage)
        MultiProjectPage.setTabOrder(self.openMasterAutomaticallyCheckBox,self.multiProjectTimestampCheckBox)
        MultiProjectPage.setTabOrder(self.multiProjectTimestampCheckBox,self.multiProjectRecentSpinBox)

    def retranslateUi(self, MultiProjectPage):
        self.headerLabel.setText(QtGui.QApplication.translate("MultiProjectPage", "<b>Configure multiproject settings</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("MultiProjectPage", "Master Project", None, QtGui.QApplication.UnicodeUTF8))
        self.openMasterAutomaticallyCheckBox.setToolTip(QtGui.QApplication.translate("MultiProjectPage", "Select to open the master project automatically upon opening the multiproject", None, QtGui.QApplication.UnicodeUTF8))
        self.openMasterAutomaticallyCheckBox.setText(QtGui.QApplication.translate("MultiProjectPage", "Open master project automatically", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_6.setTitle(QtGui.QApplication.translate("MultiProjectPage", "XML", None, QtGui.QApplication.UnicodeUTF8))
        self.multiProjectTimestampCheckBox.setToolTip(QtGui.QApplication.translate("MultiProjectPage", "Select, if a timestamp should be written to all multiproject related XML files", None, QtGui.QApplication.UnicodeUTF8))
        self.multiProjectTimestampCheckBox.setText(QtGui.QApplication.translate("MultiProjectPage", "Include timestamp in multiproject related XML files", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_7.setTitle(QtGui.QApplication.translate("MultiProjectPage", "Recent Multiprojects", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MultiProjectPage", "Number of recent multiprojects:", None, QtGui.QApplication.UnicodeUTF8))
        self.multiProjectRecentSpinBox.setToolTip(QtGui.QApplication.translate("MultiProjectPage", "Enter the number of recent multiprojects to remember", None, QtGui.QApplication.UnicodeUTF8))


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