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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/HgHisteditConfigDialog.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_HgHisteditConfigDialog(object):
    def setupUi(self, HgHisteditConfigDialog):
        HgHisteditConfigDialog.setObjectName(_fromUtf8("HgHisteditConfigDialog"))
        HgHisteditConfigDialog.resize(400, 451)
        HgHisteditConfigDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgHisteditConfigDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(HgHisteditConfigDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.defaultButton = QtGui.QRadioButton(self.groupBox)
        self.defaultButton.setChecked(False)
        self.defaultButton.setObjectName(_fromUtf8("defaultButton"))
        self.verticalLayout.addWidget(self.defaultButton)
        self.outgoingButton = QtGui.QRadioButton(self.groupBox)
        self.outgoingButton.setObjectName(_fromUtf8("outgoingButton"))
        self.verticalLayout.addWidget(self.outgoingButton)
        self.revisionButton = QtGui.QRadioButton(self.groupBox)
        self.revisionButton.setChecked(True)
        self.revisionButton.setObjectName(_fromUtf8("revisionButton"))
        self.verticalLayout.addWidget(self.revisionButton)
        self.revisionGroupBox = QtGui.QGroupBox(self.groupBox)
        self.revisionGroupBox.setEnabled(True)
        self.revisionGroupBox.setObjectName(_fromUtf8("revisionGroupBox"))
        self.gridLayout = QtGui.QGridLayout(self.revisionGroupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.numberButton = QtGui.QRadioButton(self.revisionGroupBox)
        self.numberButton.setChecked(False)
        self.numberButton.setObjectName(_fromUtf8("numberButton"))
        self.gridLayout.addWidget(self.numberButton, 0, 0, 1, 1)
        self.numberSpinBox = QtGui.QSpinBox(self.revisionGroupBox)
        self.numberSpinBox.setEnabled(False)
        self.numberSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.numberSpinBox.setMaximum(999999999)
        self.numberSpinBox.setObjectName(_fromUtf8("numberSpinBox"))
        self.gridLayout.addWidget(self.numberSpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.idButton = QtGui.QRadioButton(self.revisionGroupBox)
        self.idButton.setChecked(True)
        self.idButton.setObjectName(_fromUtf8("idButton"))
        self.gridLayout.addWidget(self.idButton, 1, 0, 1, 1)
        self.idEdit = QtGui.QLineEdit(self.revisionGroupBox)
        self.idEdit.setEnabled(True)
        self.idEdit.setObjectName(_fromUtf8("idEdit"))
        self.gridLayout.addWidget(self.idEdit, 1, 1, 1, 2)
        self.tagButton = QtGui.QRadioButton(self.revisionGroupBox)
        self.tagButton.setObjectName(_fromUtf8("tagButton"))
        self.gridLayout.addWidget(self.tagButton, 2, 0, 1, 1)
        self.tagCombo = QtGui.QComboBox(self.revisionGroupBox)
        self.tagCombo.setEnabled(False)
        self.tagCombo.setEditable(True)
        self.tagCombo.setObjectName(_fromUtf8("tagCombo"))
        self.gridLayout.addWidget(self.tagCombo, 2, 1, 1, 2)
        self.branchButton = QtGui.QRadioButton(self.revisionGroupBox)
        self.branchButton.setObjectName(_fromUtf8("branchButton"))
        self.gridLayout.addWidget(self.branchButton, 3, 0, 1, 1)
        self.branchCombo = QtGui.QComboBox(self.revisionGroupBox)
        self.branchCombo.setEnabled(False)
        self.branchCombo.setEditable(True)
        self.branchCombo.setObjectName(_fromUtf8("branchCombo"))
        self.gridLayout.addWidget(self.branchCombo, 3, 1, 1, 2)
        self.bookmarkButton = QtGui.QRadioButton(self.revisionGroupBox)
        self.bookmarkButton.setObjectName(_fromUtf8("bookmarkButton"))
        self.gridLayout.addWidget(self.bookmarkButton, 4, 0, 1, 1)
        self.bookmarkCombo = QtGui.QComboBox(self.revisionGroupBox)
        self.bookmarkCombo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bookmarkCombo.sizePolicy().hasHeightForWidth())
        self.bookmarkCombo.setSizePolicy(sizePolicy)
        self.bookmarkCombo.setEditable(True)
        self.bookmarkCombo.setObjectName(_fromUtf8("bookmarkCombo"))
        self.gridLayout.addWidget(self.bookmarkCombo, 4, 1, 1, 2)
        self.verticalLayout.addWidget(self.revisionGroupBox)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.forceCheckBox = QtGui.QCheckBox(HgHisteditConfigDialog)
        self.forceCheckBox.setEnabled(False)
        self.forceCheckBox.setObjectName(_fromUtf8("forceCheckBox"))
        self.verticalLayout_2.addWidget(self.forceCheckBox)
        self.keepCheckBox = QtGui.QCheckBox(HgHisteditConfigDialog)
        self.keepCheckBox.setObjectName(_fromUtf8("keepCheckBox"))
        self.verticalLayout_2.addWidget(self.keepCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgHisteditConfigDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(HgHisteditConfigDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgHisteditConfigDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgHisteditConfigDialog.reject)
        QtCore.QObject.connect(self.revisionButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.revisionGroupBox.setEnabled)
        QtCore.QObject.connect(self.numberButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.numberSpinBox.setEnabled)
        QtCore.QObject.connect(self.idButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.idEdit.setEnabled)
        QtCore.QObject.connect(self.tagButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.tagCombo.setEnabled)
        QtCore.QObject.connect(self.branchButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.branchCombo.setEnabled)
        QtCore.QObject.connect(self.bookmarkButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.bookmarkCombo.setEnabled)
        QtCore.QObject.connect(self.outgoingButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.forceCheckBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgHisteditConfigDialog)
        HgHisteditConfigDialog.setTabOrder(self.defaultButton, self.outgoingButton)
        HgHisteditConfigDialog.setTabOrder(self.outgoingButton, self.revisionButton)
        HgHisteditConfigDialog.setTabOrder(self.revisionButton, self.numberButton)
        HgHisteditConfigDialog.setTabOrder(self.numberButton, self.numberSpinBox)
        HgHisteditConfigDialog.setTabOrder(self.numberSpinBox, self.idButton)
        HgHisteditConfigDialog.setTabOrder(self.idButton, self.idEdit)
        HgHisteditConfigDialog.setTabOrder(self.idEdit, self.tagButton)
        HgHisteditConfigDialog.setTabOrder(self.tagButton, self.tagCombo)
        HgHisteditConfigDialog.setTabOrder(self.tagCombo, self.branchButton)
        HgHisteditConfigDialog.setTabOrder(self.branchButton, self.branchCombo)
        HgHisteditConfigDialog.setTabOrder(self.branchCombo, self.bookmarkButton)
        HgHisteditConfigDialog.setTabOrder(self.bookmarkButton, self.bookmarkCombo)
        HgHisteditConfigDialog.setTabOrder(self.bookmarkCombo, self.forceCheckBox)
        HgHisteditConfigDialog.setTabOrder(self.forceCheckBox, self.keepCheckBox)

    def retranslateUi(self, HgHisteditConfigDialog):
        HgHisteditConfigDialog.setWindowTitle(_translate("HgHisteditConfigDialog", "Histedit Configuration", None))
        self.groupBox.setTitle(_translate("HgHisteditConfigDialog", "Start Revision", None))
        self.defaultButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to use the default revision as the base", None))
        self.defaultButton.setText(_translate("HgHisteditConfigDialog", "Default Revision", None))
        self.outgoingButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to edit all outgoing revisions", None))
        self.outgoingButton.setText(_translate("HgHisteditConfigDialog", "All Outgoing", None))
        self.revisionButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to use a revision as start point", None))
        self.revisionButton.setText(_translate("HgHisteditConfigDialog", "Revision", None))
        self.revisionGroupBox.setTitle(_translate("HgHisteditConfigDialog", "Revision", None))
        self.numberButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to specify a revision by number", None))
        self.numberButton.setText(_translate("HgHisteditConfigDialog", "Number", None))
        self.numberSpinBox.setToolTip(_translate("HgHisteditConfigDialog", "Enter a revision number", None))
        self.idButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to specify a revision by changeset id", None))
        self.idButton.setText(_translate("HgHisteditConfigDialog", "Id:", None))
        self.idEdit.setToolTip(_translate("HgHisteditConfigDialog", "Enter a changeset id", None))
        self.tagButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to specify a revision by a tag", None))
        self.tagButton.setText(_translate("HgHisteditConfigDialog", "Tag:", None))
        self.tagCombo.setToolTip(_translate("HgHisteditConfigDialog", "Enter a tag name", None))
        self.branchButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to specify a revision by a branch", None))
        self.branchButton.setText(_translate("HgHisteditConfigDialog", "Branch:", None))
        self.branchCombo.setToolTip(_translate("HgHisteditConfigDialog", "Enter a branch name", None))
        self.bookmarkButton.setToolTip(_translate("HgHisteditConfigDialog", "Select to specify a revision by a bookmark", None))
        self.bookmarkButton.setText(_translate("HgHisteditConfigDialog", "Bookmark:", None))
        self.bookmarkCombo.setToolTip(_translate("HgHisteditConfigDialog", "Enter a bookmark name", None))
        self.forceCheckBox.setToolTip(_translate("HgHisteditConfigDialog", "Select to force outgoing", None))
        self.forceCheckBox.setText(_translate("HgHisteditConfigDialog", "Force outgoing", None))
        self.keepCheckBox.setToolTip(_translate("HgHisteditConfigDialog", "Select to keep old nodes", None))
        self.keepCheckBox.setText(_translate("HgHisteditConfigDialog", "Keep old nodes", None))

