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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/VcsPage.ui'
#
# Created: Sun Jul 20 14:00:02 2008
#      by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_VcsPage(object):
    def setupUi(self, VcsPage):
        VcsPage.setObjectName("VcsPage")
        VcsPage.resize(619,572)
        self.verticalLayout = QtGui.QVBoxLayout(VcsPage)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(VcsPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line9_3_2_2 = QtGui.QFrame(VcsPage)
        self.line9_3_2_2.setFrameShape(QtGui.QFrame.HLine)
        self.line9_3_2_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_3_2_2.setFrameShape(QtGui.QFrame.HLine)
        self.line9_3_2_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_3_2_2.setObjectName("line9_3_2_2")
        self.verticalLayout.addWidget(self.line9_3_2_2)
        self.vcsAutoCloseCheckBox = QtGui.QCheckBox(VcsPage)
        self.vcsAutoCloseCheckBox.setObjectName("vcsAutoCloseCheckBox")
        self.verticalLayout.addWidget(self.vcsAutoCloseCheckBox)
        self.groupBox = QtGui.QGroupBox(VcsPage)
        self.groupBox.setObjectName("groupBox")
        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setObjectName("vboxlayout")
        self.vcsAutoSaveCheckBox = QtGui.QCheckBox(self.groupBox)
        self.vcsAutoSaveCheckBox.setObjectName("vcsAutoSaveCheckBox")
        self.vboxlayout.addWidget(self.vcsAutoSaveCheckBox)
        self.vcsAutoSaveProjectCheckBox = QtGui.QCheckBox(self.groupBox)
        self.vcsAutoSaveProjectCheckBox.setObjectName("vcsAutoSaveProjectCheckBox")
        self.vboxlayout.addWidget(self.vcsAutoSaveProjectCheckBox)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(VcsPage)
        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.vcsStatusMonitorIntervalSpinBox = QtGui.QSpinBox(self.groupBox_2)
        self.vcsStatusMonitorIntervalSpinBox.setMaximum(3600)
        self.vcsStatusMonitorIntervalSpinBox.setObjectName("vcsStatusMonitorIntervalSpinBox")
        self.gridlayout.addWidget(self.vcsStatusMonitorIntervalSpinBox,0,0,1,1)
        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,0,1,1,1)
        self.vcsMonitorLocalStatusCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.vcsMonitorLocalStatusCheckBox.setObjectName("vcsMonitorLocalStatusCheckBox")
        self.gridlayout.addWidget(self.vcsMonitorLocalStatusCheckBox,1,0,1,2)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(VcsPage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout.setMargin(6)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtGui.QLabel(self.groupBox_3)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4,0,0,1,1)
        self.pbVcsAddedButton = QtGui.QPushButton(self.groupBox_3)
        self.pbVcsAddedButton.setMinimumSize(QtCore.QSize(100,0))
        self.pbVcsAddedButton.setObjectName("pbVcsAddedButton")
        self.gridLayout.addWidget(self.pbVcsAddedButton,0,1,1,1)
        self.label_5 = QtGui.QLabel(self.groupBox_3)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5,0,2,1,1)
        self.pbVcsConflictButton = QtGui.QPushButton(self.groupBox_3)
        self.pbVcsConflictButton.setMinimumSize(QtCore.QSize(100,0))
        self.pbVcsConflictButton.setObjectName("pbVcsConflictButton")
        self.gridLayout.addWidget(self.pbVcsConflictButton,0,3,1,1)
        spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1,0,4,1,1)
        self.label_2 = QtGui.QLabel(self.groupBox_3)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2,1,0,1,1)
        self.pbVcsModifiedButton = QtGui.QPushButton(self.groupBox_3)
        self.pbVcsModifiedButton.setMinimumSize(QtCore.QSize(100,0))
        self.pbVcsModifiedButton.setObjectName("pbVcsModifiedButton")
        self.gridLayout.addWidget(self.pbVcsModifiedButton,1,1,1,1)
        self.label_6 = QtGui.QLabel(self.groupBox_3)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6,1,2,1,1)
        self.pbVcsReplacedButton = QtGui.QPushButton(self.groupBox_3)
        self.pbVcsReplacedButton.setMinimumSize(QtCore.QSize(100,0))
        self.pbVcsReplacedButton.setObjectName("pbVcsReplacedButton")
        self.gridLayout.addWidget(self.pbVcsReplacedButton,1,3,1,1)
        self.label_3 = QtGui.QLabel(self.groupBox_3)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3,2,0,1,1)
        self.pbVcsUpdateButton = QtGui.QPushButton(self.groupBox_3)
        self.pbVcsUpdateButton.setMinimumSize(QtCore.QSize(100,0))
        self.pbVcsUpdateButton.setObjectName("pbVcsUpdateButton")
        self.gridLayout.addWidget(self.pbVcsUpdateButton,2,1,1,1)
        self.verticalLayout.addWidget(self.groupBox_3)
        spacerItem2 = QtGui.QSpacerItem(512,81,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)

        self.retranslateUi(VcsPage)
        QtCore.QMetaObject.connectSlotsByName(VcsPage)
        VcsPage.setTabOrder(self.vcsAutoCloseCheckBox,self.vcsAutoSaveCheckBox)
        VcsPage.setTabOrder(self.vcsAutoSaveCheckBox,self.vcsAutoSaveProjectCheckBox)
        VcsPage.setTabOrder(self.vcsAutoSaveProjectCheckBox,self.vcsStatusMonitorIntervalSpinBox)
        VcsPage.setTabOrder(self.vcsStatusMonitorIntervalSpinBox,self.vcsMonitorLocalStatusCheckBox)
        VcsPage.setTabOrder(self.vcsMonitorLocalStatusCheckBox,self.pbVcsAddedButton)
        VcsPage.setTabOrder(self.pbVcsAddedButton,self.pbVcsConflictButton)
        VcsPage.setTabOrder(self.pbVcsConflictButton,self.pbVcsModifiedButton)
        VcsPage.setTabOrder(self.pbVcsModifiedButton,self.pbVcsReplacedButton)
        VcsPage.setTabOrder(self.pbVcsReplacedButton,self.pbVcsUpdateButton)

    def retranslateUi(self, VcsPage):
        self.headerLabel.setText(QtGui.QApplication.translate("VcsPage", "<b>Configure Version Control Systems</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsAutoCloseCheckBox.setText(QtGui.QApplication.translate("VcsPage", "Close VCS dialog automatically, if no error occured", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("VcsPage", "Commit", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsAutoSaveCheckBox.setToolTip(QtGui.QApplication.translate("VcsPage", "Select, if files should be saved before a commit", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsAutoSaveCheckBox.setText(QtGui.QApplication.translate("VcsPage", "Save files upon commit", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsAutoSaveProjectCheckBox.setToolTip(QtGui.QApplication.translate("VcsPage", "Select, if project should be saved before a commit", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsAutoSaveProjectCheckBox.setText(QtGui.QApplication.translate("VcsPage", "Save project upon commit", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("VcsPage", "Status Monitor", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsStatusMonitorIntervalSpinBox.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the interval in seconds for VCS status updates (0 to disable)", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsStatusMonitorIntervalSpinBox.setSuffix(QtGui.QApplication.translate("VcsPage", " sec", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsMonitorLocalStatusCheckBox.setToolTip(QtGui.QApplication.translate("VcsPage", "Select to monitor local status only (if supported by VCS)", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsMonitorLocalStatusCheckBox.setText(QtGui.QApplication.translate("VcsPage", "Monitor local status only", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("VcsPage", "Colours", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("VcsPage", "VCS status \"added\":", None, QtGui.QApplication.UnicodeUTF8))
        self.pbVcsAddedButton.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the background colour for entries with VCS status \"added\".", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("VcsPage", "VCS status \"conflict\":", None, QtGui.QApplication.UnicodeUTF8))
        self.pbVcsConflictButton.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the background colour for entries with VCS status \"conflict\".", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("VcsPage", "VCS status \"modified\":", None, QtGui.QApplication.UnicodeUTF8))
        self.pbVcsModifiedButton.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the background colour for entries with VCS status \"modified\".", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("VcsPage", "VCS status \"replaced\":", None, QtGui.QApplication.UnicodeUTF8))
        self.pbVcsReplacedButton.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the background colour for entries with VCS status \"replaced\".", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("VcsPage", "VCS status \"needs update\":", None, QtGui.QApplication.UnicodeUTF8))
        self.pbVcsUpdateButton.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the background colour for entries with VCS status \"needs update\".", None, QtGui.QApplication.UnicodeUTF8))


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

