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

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

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

        self.headerLabel = QtGui.QLabel(VcsPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.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.vboxlayout.addWidget(self.line9_3_2_2)

        self.vcsAutoCloseCheckBox = QtGui.QCheckBox(VcsPage)
        self.vcsAutoCloseCheckBox.setObjectName("vcsAutoCloseCheckBox")
        self.vboxlayout.addWidget(self.vcsAutoCloseCheckBox)

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

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

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

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

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

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

        self.vcsStatusMonitorIntervalSpinBox = QtGui.QSpinBox(self.groupBox_2)
        self.vcsStatusMonitorIntervalSpinBox.setMaximum(3600)
        self.vcsStatusMonitorIntervalSpinBox.setObjectName("vcsStatusMonitorIntervalSpinBox")
        self.hboxlayout.addWidget(self.vcsStatusMonitorIntervalSpinBox)

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

        self.svnInterfaceGroup = QtGui.QGroupBox(VcsPage)
        self.svnInterfaceGroup.setObjectName("svnInterfaceGroup")

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

        self.svnClientCombo = QtGui.QComboBox(self.svnInterfaceGroup)
        self.svnClientCombo.setObjectName("svnClientCombo")
        self.vboxlayout2.addWidget(self.svnClientCombo)
        self.vboxlayout.addWidget(self.svnInterfaceGroup)

        spacerItem1 = QtGui.QSpacerItem(512,61,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)

        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)

    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.svnInterfaceGroup.setTitle(QtGui.QApplication.translate("VcsPage", "Subversion Client Interface", None, QtGui.QApplication.UnicodeUTF8))
        self.svnClientCombo.setToolTip(QtGui.QApplication.translate("VcsPage", "Select the subversion client interface to use", None, QtGui.QApplication.UnicodeUTF8))
        self.svnClientCombo.addItem(QtGui.QApplication.translate("VcsPage", "Client specified in project", None, QtGui.QApplication.UnicodeUTF8))
        self.svnClientCombo.addItem(QtGui.QApplication.translate("VcsPage", "External Client (svn)", None, QtGui.QApplication.UnicodeUTF8))
        self.svnClientCombo.addItem(QtGui.QApplication.translate("VcsPage", "Builtin Client (Python, PySvn)", 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_())
