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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/ProjectPage.ui'
#
# Created: Thu Mar 27 12:15:50 2008
#      by: PyQt4 UI code generator 4.3.4-snapshot-20080307
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ProjectPage(object):
    def setupUi(self, ProjectPage):
        ProjectPage.setObjectName("ProjectPage")
        ProjectPage.resize(QtCore.QSize(QtCore.QRect(0,0,596,571).size()).expandedTo(ProjectPage.minimumSizeHint()))

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

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

        self.line8 = QtGui.QFrame(ProjectPage)
        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(ProjectPage)
        self.groupBox.setObjectName("groupBox")

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

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

        self.groupBox_6 = QtGui.QGroupBox(ProjectPage)
        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.projectTimestampCheckBox = QtGui.QCheckBox(self.groupBox_6)
        self.projectTimestampCheckBox.setObjectName("projectTimestampCheckBox")
        self.vboxlayout2.addWidget(self.projectTimestampCheckBox)
        self.vboxlayout.addWidget(self.groupBox_6)

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

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

        self.projectSearchNewFilesRecursiveCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.projectSearchNewFilesRecursiveCheckBox.setObjectName("projectSearchNewFilesRecursiveCheckBox")
        self.gridlayout.addWidget(self.projectSearchNewFilesRecursiveCheckBox,0,0,1,1)

        self.projectSearchNewFilesCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.projectSearchNewFilesCheckBox.setObjectName("projectSearchNewFilesCheckBox")
        self.gridlayout.addWidget(self.projectSearchNewFilesCheckBox,0,1,1,1)

        self.projectAutoIncludeNewFilesCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.projectAutoIncludeNewFilesCheckBox.setEnabled(False)
        self.projectAutoIncludeNewFilesCheckBox.setObjectName("projectAutoIncludeNewFilesCheckBox")
        self.gridlayout.addWidget(self.projectAutoIncludeNewFilesCheckBox,1,1,1,1)
        self.vboxlayout.addWidget(self.groupBox_2)

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

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

        self.projectLoadDebugPropertiesCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.projectLoadDebugPropertiesCheckBox.setObjectName("projectLoadDebugPropertiesCheckBox")
        self.gridlayout1.addWidget(self.projectLoadDebugPropertiesCheckBox,0,0,1,1)

        self.projectSaveDebugPropertiesCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.projectSaveDebugPropertiesCheckBox.setObjectName("projectSaveDebugPropertiesCheckBox")
        self.gridlayout1.addWidget(self.projectSaveDebugPropertiesCheckBox,0,1,1,1)
        self.vboxlayout.addWidget(self.groupBox_4)

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

        self.gridlayout2 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout2.setMargin(6)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.projectLoadSessionCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.projectLoadSessionCheckBox.setObjectName("projectLoadSessionCheckBox")
        self.gridlayout2.addWidget(self.projectLoadSessionCheckBox,0,0,1,1)

        self.projectSaveSessionCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.projectSaveSessionCheckBox.setObjectName("projectSaveSessionCheckBox")
        self.gridlayout2.addWidget(self.projectSaveSessionCheckBox,0,1,1,1)

        self.projectSessionAllBpCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.projectSessionAllBpCheckBox.setObjectName("projectSessionAllBpCheckBox")
        self.gridlayout2.addWidget(self.projectSessionAllBpCheckBox,1,1,1,1)
        self.vboxlayout.addWidget(self.groupBox_3)

        self.groupBox_5 = QtGui.QGroupBox(ProjectPage)
        self.groupBox_5.setObjectName("groupBox_5")

        self.gridlayout3 = QtGui.QGridLayout(self.groupBox_5)
        self.gridlayout3.setMargin(6)
        self.gridlayout3.setSpacing(6)
        self.gridlayout3.setObjectName("gridlayout3")

        self.projectAutoCompileFormsCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.projectAutoCompileFormsCheckBox.setObjectName("projectAutoCompileFormsCheckBox")
        self.gridlayout3.addWidget(self.projectAutoCompileFormsCheckBox,0,0,1,1)

        self.projectAutoCompileResourcesCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.projectAutoCompileResourcesCheckBox.setObjectName("projectAutoCompileResourcesCheckBox")
        self.gridlayout3.addWidget(self.projectAutoCompileResourcesCheckBox,0,1,1,1)
        self.vboxlayout.addWidget(self.groupBox_5)

        self.groupBox_7 = QtGui.QGroupBox(ProjectPage)
        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.projectRecentSpinBox = QtGui.QSpinBox(self.groupBox_7)
        self.projectRecentSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.projectRecentSpinBox.setMinimum(5)
        self.projectRecentSpinBox.setMaximum(50)
        self.projectRecentSpinBox.setObjectName("projectRecentSpinBox")
        self.hboxlayout.addWidget(self.projectRecentSpinBox)

        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(584,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)

        self.retranslateUi(ProjectPage)
        QtCore.QObject.connect(self.projectSearchNewFilesCheckBox,QtCore.SIGNAL("toggled(bool)"),self.projectAutoIncludeNewFilesCheckBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ProjectPage)
        ProjectPage.setTabOrder(self.projectCompressedProjectFilesCheckBox,self.projectTimestampCheckBox)
        ProjectPage.setTabOrder(self.projectTimestampCheckBox,self.projectSearchNewFilesRecursiveCheckBox)
        ProjectPage.setTabOrder(self.projectSearchNewFilesRecursiveCheckBox,self.projectSearchNewFilesCheckBox)
        ProjectPage.setTabOrder(self.projectSearchNewFilesCheckBox,self.projectAutoIncludeNewFilesCheckBox)
        ProjectPage.setTabOrder(self.projectAutoIncludeNewFilesCheckBox,self.projectLoadSessionCheckBox)
        ProjectPage.setTabOrder(self.projectLoadSessionCheckBox,self.projectSaveSessionCheckBox)
        ProjectPage.setTabOrder(self.projectSaveSessionCheckBox,self.projectSessionAllBpCheckBox)
        ProjectPage.setTabOrder(self.projectSessionAllBpCheckBox,self.projectLoadDebugPropertiesCheckBox)
        ProjectPage.setTabOrder(self.projectLoadDebugPropertiesCheckBox,self.projectSaveDebugPropertiesCheckBox)
        ProjectPage.setTabOrder(self.projectSaveDebugPropertiesCheckBox,self.projectAutoCompileFormsCheckBox)
        ProjectPage.setTabOrder(self.projectAutoCompileFormsCheckBox,self.projectAutoCompileResourcesCheckBox)
        ProjectPage.setTabOrder(self.projectAutoCompileResourcesCheckBox,self.projectRecentSpinBox)

    def retranslateUi(self, ProjectPage):
        self.headerLabel.setText(QtGui.QApplication.translate("ProjectPage", "<b>Configure project settings</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("ProjectPage", "Compression", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCompressedProjectFilesCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, if the project file of a new project should be compressed", None, QtGui.QApplication.UnicodeUTF8))
        self.projectCompressedProjectFilesCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Compress project file upon creation", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_6.setTitle(QtGui.QApplication.translate("ProjectPage", "XML", None, QtGui.QApplication.UnicodeUTF8))
        self.projectTimestampCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, if a timestamp should be written to all project related XML files", None, QtGui.QApplication.UnicodeUTF8))
        self.projectTimestampCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Include timestamp in project related XML files", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("ProjectPage", "Search new files", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSearchNewFilesRecursiveCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Search for new files recursively", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSearchNewFilesCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select whether a search for new files on a project open should be performed.", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSearchNewFilesCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Search for new files on open", None, QtGui.QApplication.UnicodeUTF8))
        self.projectAutoIncludeNewFilesCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select whether the found files should be included automatically.", None, QtGui.QApplication.UnicodeUTF8))
        self.projectAutoIncludeNewFilesCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Automatically include found files", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("ProjectPage", "Debugger Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.projectLoadDebugPropertiesCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, whether a project debugger properties file shall be read on opening the project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectLoadDebugPropertiesCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Load debugger properties upon opening", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSaveDebugPropertiesCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, whether a project debugger properties file shall be written on closing the project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSaveDebugPropertiesCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Save debugger properties upon closing", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("ProjectPage", "Sessions", None, QtGui.QApplication.UnicodeUTF8))
        self.projectLoadSessionCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, whether a project session file shall be read on opening the project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectLoadSessionCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Load session upon opening", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSaveSessionCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, whether a project session file shall be written on closing the project", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSaveSessionCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Save session upon closing", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSessionAllBpCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select whether all breakpoints should be saved to the session file.", None, QtGui.QApplication.UnicodeUTF8))
        self.projectSessionAllBpCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "Save all breakpoints", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setTitle(QtGui.QApplication.translate("ProjectPage", "Automatically compile", None, QtGui.QApplication.UnicodeUTF8))
        self.projectAutoCompileFormsCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, if changed forms should be compiled automatically upon a run action", None, QtGui.QApplication.UnicodeUTF8))
        self.projectAutoCompileFormsCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "changed forms", None, QtGui.QApplication.UnicodeUTF8))
        self.projectAutoCompileResourcesCheckBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Select, if changed resources should be compiled automatically upon a run action", None, QtGui.QApplication.UnicodeUTF8))
        self.projectAutoCompileResourcesCheckBox.setText(QtGui.QApplication.translate("ProjectPage", "changed resources", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_7.setTitle(QtGui.QApplication.translate("ProjectPage", "Recent Projects", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ProjectPage", "Number of recent projects:", None, QtGui.QApplication.UnicodeUTF8))
        self.projectRecentSpinBox.setToolTip(QtGui.QApplication.translate("ProjectPage", "Enter the number of recent projects to remember", None, QtGui.QApplication.UnicodeUTF8))


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