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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MercurialPage(object):
    def setupUi(self, MercurialPage):
        MercurialPage.setObjectName(_fromUtf8("MercurialPage"))
        MercurialPage.resize(609, 751)
        self.verticalLayout_5 = QtGui.QVBoxLayout(MercurialPage)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.headerLabel = QtGui.QLabel(MercurialPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_5.addWidget(self.headerLabel)
        self.line15 = QtGui.QFrame(MercurialPage)
        self.line15.setFrameShape(QtGui.QFrame.HLine)
        self.line15.setFrameShadow(QtGui.QFrame.Sunken)
        self.line15.setFrameShape(QtGui.QFrame.HLine)
        self.line15.setObjectName(_fromUtf8("line15"))
        self.verticalLayout_5.addWidget(self.line15)
        self.groupBox_8 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_8.setObjectName(_fromUtf8("groupBox_8"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_8)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_4 = QtGui.QLabel(self.groupBox_8)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.encodingComboBox = QtGui.QComboBox(self.groupBox_8)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.encodingComboBox.sizePolicy().hasHeightForWidth())
        self.encodingComboBox.setSizePolicy(sizePolicy)
        self.encodingComboBox.setObjectName(_fromUtf8("encodingComboBox"))
        self.gridLayout.addWidget(self.encodingComboBox, 0, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_8)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 0, 2, 1, 1)
        self.encodingModeComboBox = QtGui.QComboBox(self.groupBox_8)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.encodingModeComboBox.sizePolicy().hasHeightForWidth())
        self.encodingModeComboBox.setSizePolicy(sizePolicy)
        self.encodingModeComboBox.setObjectName(_fromUtf8("encodingModeComboBox"))
        self.gridLayout.addWidget(self.encodingModeComboBox, 0, 3, 1, 1)
        self.hiddenChangesetsCheckBox = QtGui.QCheckBox(self.groupBox_8)
        self.hiddenChangesetsCheckBox.setObjectName(_fromUtf8("hiddenChangesetsCheckBox"))
        self.gridLayout.addWidget(self.hiddenChangesetsCheckBox, 1, 0, 1, 2)
        self.verticalLayout_5.addWidget(self.groupBox_8)
        self.groupBox = QtGui.QGroupBox(MercurialPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.logSpinBox = QtGui.QSpinBox(self.groupBox)
        self.logSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.logSpinBox.setMaximum(999999)
        self.logSpinBox.setObjectName(_fromUtf8("logSpinBox"))
        self.hboxlayout.addWidget(self.logSpinBox)
        spacerItem = QtGui.QSpacerItem(41, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.verticalLayout_5.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_2 = QtGui.QLabel(self.groupBox_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1)
        self.commitSpinBox = QtGui.QSpinBox(self.groupBox_2)
        self.commitSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.commitSpinBox.setMinimum(1)
        self.commitSpinBox.setMaximum(100)
        self.commitSpinBox.setObjectName(_fromUtf8("commitSpinBox"))
        self.gridLayout_2.addWidget(self.commitSpinBox, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
        self.commitAuthorsSpinBox = QtGui.QSpinBox(self.groupBox_2)
        self.commitAuthorsSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.commitAuthorsSpinBox.setMinimum(1)
        self.commitAuthorsSpinBox.setMaximum(100)
        self.commitAuthorsSpinBox.setObjectName(_fromUtf8("commitAuthorsSpinBox"))
        self.gridLayout_2.addWidget(self.commitAuthorsSpinBox, 1, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(329, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 1, 2, 1, 1)
        self.verticalLayout_5.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.logBrowserCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.logBrowserCheckBox.setObjectName(_fromUtf8("logBrowserCheckBox"))
        self.verticalLayout.addWidget(self.logBrowserCheckBox)
        self.verticalLayout_5.addWidget(self.groupBox_3)
        self.groupBox_4 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.pullUpdateCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.pullUpdateCheckBox.setObjectName(_fromUtf8("pullUpdateCheckBox"))
        self.verticalLayout_2.addWidget(self.pullUpdateCheckBox)
        self.preferUnbundleCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.preferUnbundleCheckBox.setObjectName(_fromUtf8("preferUnbundleCheckBox"))
        self.verticalLayout_2.addWidget(self.preferUnbundleCheckBox)
        self.verticalLayout_5.addWidget(self.groupBox_4)
        self.groupBox_7 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_7.setObjectName(_fromUtf8("groupBox_7"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_7)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.internalMergeCheckBox = QtGui.QCheckBox(self.groupBox_7)
        self.internalMergeCheckBox.setObjectName(_fromUtf8("internalMergeCheckBox"))
        self.verticalLayout_4.addWidget(self.internalMergeCheckBox)
        self.verticalLayout_5.addWidget(self.groupBox_7)
        self.groupBox_6 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.backupCheckBox = QtGui.QCheckBox(self.groupBox_6)
        self.backupCheckBox.setObjectName(_fromUtf8("backupCheckBox"))
        self.verticalLayout_3.addWidget(self.backupCheckBox)
        self.verticalLayout_5.addWidget(self.groupBox_6)
        self.groupBox_5 = QtGui.QGroupBox(MercurialPage)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_5)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_3 = QtGui.QLabel(self.groupBox_5)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.cleanupPatternEdit = QtGui.QLineEdit(self.groupBox_5)
        self.cleanupPatternEdit.setObjectName(_fromUtf8("cleanupPatternEdit"))
        self.horizontalLayout.addWidget(self.cleanupPatternEdit)
        self.verticalLayout_5.addWidget(self.groupBox_5)
        self.configButton = QtGui.QPushButton(MercurialPage)
        self.configButton.setObjectName(_fromUtf8("configButton"))
        self.verticalLayout_5.addWidget(self.configButton)
        spacerItem3 = QtGui.QSpacerItem(388, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem3)

        self.retranslateUi(MercurialPage)
        QtCore.QMetaObject.connectSlotsByName(MercurialPage)
        MercurialPage.setTabOrder(self.encodingComboBox, self.encodingModeComboBox)
        MercurialPage.setTabOrder(self.encodingModeComboBox, self.hiddenChangesetsCheckBox)
        MercurialPage.setTabOrder(self.hiddenChangesetsCheckBox, self.logSpinBox)
        MercurialPage.setTabOrder(self.logSpinBox, self.commitSpinBox)
        MercurialPage.setTabOrder(self.commitSpinBox, self.commitAuthorsSpinBox)
        MercurialPage.setTabOrder(self.commitAuthorsSpinBox, self.logBrowserCheckBox)
        MercurialPage.setTabOrder(self.logBrowserCheckBox, self.pullUpdateCheckBox)
        MercurialPage.setTabOrder(self.pullUpdateCheckBox, self.preferUnbundleCheckBox)
        MercurialPage.setTabOrder(self.preferUnbundleCheckBox, self.internalMergeCheckBox)
        MercurialPage.setTabOrder(self.internalMergeCheckBox, self.backupCheckBox)
        MercurialPage.setTabOrder(self.backupCheckBox, self.cleanupPatternEdit)
        MercurialPage.setTabOrder(self.cleanupPatternEdit, self.configButton)

    def retranslateUi(self, MercurialPage):
        self.headerLabel.setText(_translate("MercurialPage", "<b>Configure Mercurial Interface</b>", None))
        self.groupBox_8.setTitle(_translate("MercurialPage", "Global Options", None))
        self.label_4.setText(_translate("MercurialPage", "Encoding:", None))
        self.encodingComboBox.setToolTip(_translate("MercurialPage", "Select the encoding to be used by Mercurial", None))
        self.label_5.setText(_translate("MercurialPage", "Encoding Mode:", None))
        self.encodingModeComboBox.setToolTip(_translate("MercurialPage", "Select the encoding mode", None))
        self.hiddenChangesetsCheckBox.setText(_translate("MercurialPage", "Consider hidden changesets", None))
        self.groupBox.setTitle(_translate("MercurialPage", "Log", None))
        self.label.setText(_translate("MercurialPage", "No. of log messages shown:", None))
        self.logSpinBox.setToolTip(_translate("MercurialPage", "Enter the number of log messages to be shown", None))
        self.groupBox_2.setTitle(_translate("MercurialPage", "Commit", None))
        self.label_2.setText(_translate("MercurialPage", "No. of commit messages to remember:", None))
        self.commitSpinBox.setToolTip(_translate("MercurialPage", "Enter the number of commit messages to remember", None))
        self.label_6.setText(_translate("MercurialPage", "No. of commit authors to remember:", None))
        self.commitAuthorsSpinBox.setToolTip(_translate("MercurialPage", "Enter the number of commit authors to remember", None))
        self.groupBox_3.setTitle(_translate("MercurialPage", "Incoming / Outgoing", None))
        self.logBrowserCheckBox.setToolTip(_translate("MercurialPage", "Select to show the incoming and outgoing log in a log browser dialog", None))
        self.logBrowserCheckBox.setText(_translate("MercurialPage", "Use Log Browser for incoming / outgoing log", None))
        self.groupBox_4.setTitle(_translate("MercurialPage", "Pull", None))
        self.pullUpdateCheckBox.setToolTip(_translate("MercurialPage", "Select to update the working directory to new tip", None))
        self.pullUpdateCheckBox.setText(_translate("MercurialPage", "Update after pulling", None))
        self.preferUnbundleCheckBox.setToolTip(_translate("MercurialPage", "Select to prefer unbundle over pull", None))
        self.preferUnbundleCheckBox.setWhatsThis(_translate("MercurialPage", "<b>Prefer Unbundle</b>\n"
"<p>If this option is selected, it will be checked, if a Mercurial changegroups file from a previous \"Show Incoming\" request exists. In this case it will be applied and deleted. Otherwise a pull request will be sent.</p>", None))
        self.preferUnbundleCheckBox.setText(_translate("MercurialPage", "Prefer Unbundle", None))
        self.groupBox_7.setTitle(_translate("MercurialPage", "Merge", None))
        self.internalMergeCheckBox.setToolTip(_translate("MercurialPage", "Select to enforce usage of the Mercural internal merge tool", None))
        self.internalMergeCheckBox.setWhatsThis(_translate("MercurialPage", "<b>Internal Merge Tool</b>\n"
"<p>Select to enforce usage of the Mercural internal merge tool,which leaves conflict markers in the file in case of conflicting changes.</p>", None))
        self.internalMergeCheckBox.setText(_translate("MercurialPage", "Use internal merge with conflict markers", None))
        self.groupBox_6.setTitle(_translate("MercurialPage", "Revert", None))
        self.backupCheckBox.setToolTip(_translate("MercurialPage", "Select to create a backup file (.orig) before reverting changes", None))
        self.backupCheckBox.setText(_translate("MercurialPage", "Create Backup Files", None))
        self.groupBox_5.setTitle(_translate("MercurialPage", "Cleanup", None))
        self.label_3.setText(_translate("MercurialPage", "Pattern:", None))
        self.cleanupPatternEdit.setToolTip(_translate("MercurialPage", "Enter the file name patterns to be used for cleaning up (entries separated by a space character)", None))
        self.configButton.setToolTip(_translate("MercurialPage", "Edit the Mercurial configuration file", None))
        self.configButton.setText(_translate("MercurialPage", "Edit configuration file", None))

