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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/RebaseExtension/HgRebaseDialog.ui'
#
# Created: Sat Jan 18 15:10:12 2014
#      by: PyQt4 UI code generator 4.10.3
#
# 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_HgRebaseDialog(object):
    def setupUi(self, HgRebaseDialog):
        HgRebaseDialog.setObjectName(_fromUtf8("HgRebaseDialog"))
        HgRebaseDialog.resize(650, 337)
        HgRebaseDialog.setSizeGripEnabled(True)
        self.gridLayout_3 = QtGui.QGridLayout(HgRebaseDialog)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox = QtGui.QGroupBox(HgRebaseDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.parentButton = QtGui.QRadioButton(self.groupBox)
        self.parentButton.setChecked(True)
        self.parentButton.setObjectName(_fromUtf8("parentButton"))
        self.verticalLayout.addWidget(self.parentButton)
        self.sourceButton = QtGui.QRadioButton(self.groupBox)
        self.sourceButton.setObjectName(_fromUtf8("sourceButton"))
        self.verticalLayout.addWidget(self.sourceButton)
        self.baseButton = QtGui.QRadioButton(self.groupBox)
        self.baseButton.setObjectName(_fromUtf8("baseButton"))
        self.verticalLayout.addWidget(self.baseButton)
        self.rev1GroupBox = QtGui.QGroupBox(self.groupBox)
        self.rev1GroupBox.setEnabled(False)
        self.rev1GroupBox.setObjectName(_fromUtf8("rev1GroupBox"))
        self.gridLayout = QtGui.QGridLayout(self.rev1GroupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.number1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.number1Button.setChecked(True)
        self.number1Button.setObjectName(_fromUtf8("number1Button"))
        self.gridLayout.addWidget(self.number1Button, 0, 0, 1, 1)
        self.number1SpinBox = QtGui.QSpinBox(self.rev1GroupBox)
        self.number1SpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.number1SpinBox.setMinimum(1)
        self.number1SpinBox.setMaximum(999999999)
        self.number1SpinBox.setObjectName(_fromUtf8("number1SpinBox"))
        self.gridLayout.addWidget(self.number1SpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.id1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.id1Button.setObjectName(_fromUtf8("id1Button"))
        self.gridLayout.addWidget(self.id1Button, 1, 0, 1, 1)
        self.id1Edit = QtGui.QLineEdit(self.rev1GroupBox)
        self.id1Edit.setEnabled(False)
        self.id1Edit.setObjectName(_fromUtf8("id1Edit"))
        self.gridLayout.addWidget(self.id1Edit, 1, 1, 1, 2)
        self.tag1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.tag1Button.setObjectName(_fromUtf8("tag1Button"))
        self.gridLayout.addWidget(self.tag1Button, 2, 0, 1, 1)
        self.tag1Combo = QtGui.QComboBox(self.rev1GroupBox)
        self.tag1Combo.setEnabled(False)
        self.tag1Combo.setEditable(True)
        self.tag1Combo.setObjectName(_fromUtf8("tag1Combo"))
        self.gridLayout.addWidget(self.tag1Combo, 2, 1, 1, 2)
        self.branch1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.branch1Button.setObjectName(_fromUtf8("branch1Button"))
        self.gridLayout.addWidget(self.branch1Button, 3, 0, 1, 1)
        self.branch1Combo = QtGui.QComboBox(self.rev1GroupBox)
        self.branch1Combo.setEnabled(False)
        self.branch1Combo.setEditable(True)
        self.branch1Combo.setObjectName(_fromUtf8("branch1Combo"))
        self.gridLayout.addWidget(self.branch1Combo, 3, 1, 1, 2)
        self.bookmark1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.bookmark1Button.setObjectName(_fromUtf8("bookmark1Button"))
        self.gridLayout.addWidget(self.bookmark1Button, 4, 0, 1, 1)
        self.bookmark1Combo = QtGui.QComboBox(self.rev1GroupBox)
        self.bookmark1Combo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bookmark1Combo.sizePolicy().hasHeightForWidth())
        self.bookmark1Combo.setSizePolicy(sizePolicy)
        self.bookmark1Combo.setEditable(True)
        self.bookmark1Combo.setObjectName(_fromUtf8("bookmark1Combo"))
        self.gridLayout.addWidget(self.bookmark1Combo, 4, 1, 1, 2)
        self.verticalLayout.addWidget(self.rev1GroupBox)
        self.verticalLayout_3.addWidget(self.groupBox)
        spacerItem1 = QtGui.QSpacerItem(20, 18, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.gridLayout_3.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.rev2GroupBox = QtGui.QGroupBox(HgRebaseDialog)
        self.rev2GroupBox.setObjectName(_fromUtf8("rev2GroupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.rev2GroupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.number2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.number2Button.setObjectName(_fromUtf8("number2Button"))
        self.gridLayout_2.addWidget(self.number2Button, 0, 0, 1, 1)
        self.number2SpinBox = QtGui.QSpinBox(self.rev2GroupBox)
        self.number2SpinBox.setEnabled(False)
        self.number2SpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.number2SpinBox.setMinimum(1)
        self.number2SpinBox.setMaximum(999999999)
        self.number2SpinBox.setObjectName(_fromUtf8("number2SpinBox"))
        self.gridLayout_2.addWidget(self.number2SpinBox, 0, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 0, 2, 1, 1)
        self.id2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.id2Button.setObjectName(_fromUtf8("id2Button"))
        self.gridLayout_2.addWidget(self.id2Button, 1, 0, 1, 1)
        self.id2Edit = QtGui.QLineEdit(self.rev2GroupBox)
        self.id2Edit.setEnabled(False)
        self.id2Edit.setObjectName(_fromUtf8("id2Edit"))
        self.gridLayout_2.addWidget(self.id2Edit, 1, 1, 1, 2)
        self.tag2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.tag2Button.setObjectName(_fromUtf8("tag2Button"))
        self.gridLayout_2.addWidget(self.tag2Button, 2, 0, 1, 1)
        self.tag2Combo = QtGui.QComboBox(self.rev2GroupBox)
        self.tag2Combo.setEnabled(False)
        self.tag2Combo.setEditable(True)
        self.tag2Combo.setObjectName(_fromUtf8("tag2Combo"))
        self.gridLayout_2.addWidget(self.tag2Combo, 2, 1, 1, 2)
        self.branch2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.branch2Button.setObjectName(_fromUtf8("branch2Button"))
        self.gridLayout_2.addWidget(self.branch2Button, 3, 0, 1, 1)
        self.branch2Combo = QtGui.QComboBox(self.rev2GroupBox)
        self.branch2Combo.setEnabled(False)
        self.branch2Combo.setEditable(True)
        self.branch2Combo.setObjectName(_fromUtf8("branch2Combo"))
        self.gridLayout_2.addWidget(self.branch2Combo, 3, 1, 1, 2)
        self.bookmark2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.bookmark2Button.setObjectName(_fromUtf8("bookmark2Button"))
        self.gridLayout_2.addWidget(self.bookmark2Button, 4, 0, 1, 1)
        self.bookmark2Combo = QtGui.QComboBox(self.rev2GroupBox)
        self.bookmark2Combo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bookmark2Combo.sizePolicy().hasHeightForWidth())
        self.bookmark2Combo.setSizePolicy(sizePolicy)
        self.bookmark2Combo.setEditable(True)
        self.bookmark2Combo.setObjectName(_fromUtf8("bookmark2Combo"))
        self.gridLayout_2.addWidget(self.bookmark2Combo, 4, 1, 1, 2)
        self.tip2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.tip2Button.setChecked(True)
        self.tip2Button.setObjectName(_fromUtf8("tip2Button"))
        self.gridLayout_2.addWidget(self.tip2Button, 5, 0, 1, 3)
        self.verticalLayout_2.addWidget(self.rev2GroupBox)
        self.collapseCheckBox = QtGui.QCheckBox(HgRebaseDialog)
        self.collapseCheckBox.setObjectName(_fromUtf8("collapseCheckBox"))
        self.verticalLayout_2.addWidget(self.collapseCheckBox)
        self.keepChangesetsCheckBox = QtGui.QCheckBox(HgRebaseDialog)
        self.keepChangesetsCheckBox.setObjectName(_fromUtf8("keepChangesetsCheckBox"))
        self.verticalLayout_2.addWidget(self.keepChangesetsCheckBox)
        self.keepBranchCheckBox = QtGui.QCheckBox(HgRebaseDialog)
        self.keepBranchCheckBox.setObjectName(_fromUtf8("keepBranchCheckBox"))
        self.verticalLayout_2.addWidget(self.keepBranchCheckBox)
        self.detachCheckBox = QtGui.QCheckBox(HgRebaseDialog)
        self.detachCheckBox.setObjectName(_fromUtf8("detachCheckBox"))
        self.verticalLayout_2.addWidget(self.detachCheckBox)
        self.gridLayout_3.addLayout(self.verticalLayout_2, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(HgRebaseDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_3.addWidget(self.buttonBox, 1, 0, 1, 2)

        self.retranslateUi(HgRebaseDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgRebaseDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgRebaseDialog.reject)
        QtCore.QObject.connect(self.number1Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.number1SpinBox.setEnabled)
        QtCore.QObject.connect(self.number2Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.number2SpinBox.setEnabled)
        QtCore.QObject.connect(self.id1Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.id1Edit.setEnabled)
        QtCore.QObject.connect(self.id2Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.id2Edit.setEnabled)
        QtCore.QObject.connect(self.tag1Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.tag1Combo.setEnabled)
        QtCore.QObject.connect(self.branch1Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.branch1Combo.setEnabled)
        QtCore.QObject.connect(self.tag2Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.tag2Combo.setEnabled)
        QtCore.QObject.connect(self.branch2Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.branch2Combo.setEnabled)
        QtCore.QObject.connect(self.bookmark1Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.bookmark1Combo.setEnabled)
        QtCore.QObject.connect(self.bookmark2Button, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.bookmark2Combo.setEnabled)
        QtCore.QObject.connect(self.parentButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.rev1GroupBox.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(HgRebaseDialog)
        HgRebaseDialog.setTabOrder(self.parentButton, self.sourceButton)
        HgRebaseDialog.setTabOrder(self.sourceButton, self.baseButton)
        HgRebaseDialog.setTabOrder(self.baseButton, self.number1Button)
        HgRebaseDialog.setTabOrder(self.number1Button, self.number1SpinBox)
        HgRebaseDialog.setTabOrder(self.number1SpinBox, self.id1Button)
        HgRebaseDialog.setTabOrder(self.id1Button, self.id1Edit)
        HgRebaseDialog.setTabOrder(self.id1Edit, self.tag1Button)
        HgRebaseDialog.setTabOrder(self.tag1Button, self.tag1Combo)
        HgRebaseDialog.setTabOrder(self.tag1Combo, self.branch1Button)
        HgRebaseDialog.setTabOrder(self.branch1Button, self.branch1Combo)
        HgRebaseDialog.setTabOrder(self.branch1Combo, self.bookmark1Button)
        HgRebaseDialog.setTabOrder(self.bookmark1Button, self.bookmark1Combo)
        HgRebaseDialog.setTabOrder(self.bookmark1Combo, self.number2Button)
        HgRebaseDialog.setTabOrder(self.number2Button, self.number2SpinBox)
        HgRebaseDialog.setTabOrder(self.number2SpinBox, self.id2Button)
        HgRebaseDialog.setTabOrder(self.id2Button, self.id2Edit)
        HgRebaseDialog.setTabOrder(self.id2Edit, self.tag2Button)
        HgRebaseDialog.setTabOrder(self.tag2Button, self.tag2Combo)
        HgRebaseDialog.setTabOrder(self.tag2Combo, self.branch2Button)
        HgRebaseDialog.setTabOrder(self.branch2Button, self.branch2Combo)
        HgRebaseDialog.setTabOrder(self.branch2Combo, self.bookmark2Button)
        HgRebaseDialog.setTabOrder(self.bookmark2Button, self.bookmark2Combo)
        HgRebaseDialog.setTabOrder(self.bookmark2Combo, self.tip2Button)
        HgRebaseDialog.setTabOrder(self.tip2Button, self.collapseCheckBox)
        HgRebaseDialog.setTabOrder(self.collapseCheckBox, self.keepChangesetsCheckBox)
        HgRebaseDialog.setTabOrder(self.keepChangesetsCheckBox, self.keepBranchCheckBox)
        HgRebaseDialog.setTabOrder(self.keepBranchCheckBox, self.detachCheckBox)
        HgRebaseDialog.setTabOrder(self.detachCheckBox, self.buttonBox)

    def retranslateUi(self, HgRebaseDialog):
        HgRebaseDialog.setWindowTitle(_translate("HgRebaseDialog", "Rebase Changesets", None))
        self.groupBox.setTitle(_translate("HgRebaseDialog", "Source / Base Revision", None))
        self.parentButton.setToolTip(_translate("HgRebaseDialog", "Select to use the parent of the working directory as the base", None))
        self.parentButton.setText(_translate("HgRebaseDialog", "Use &Parent as Base", None))
        self.sourceButton.setToolTip(_translate("HgRebaseDialog", "Select to use a revision as the source", None))
        self.sourceButton.setText(_translate("HgRebaseDialog", "&Source Revision", None))
        self.baseButton.setToolTip(_translate("HgRebaseDialog", "Select to use a revision as the base", None))
        self.baseButton.setText(_translate("HgRebaseDialog", "&Base Revision", None))
        self.rev1GroupBox.setTitle(_translate("HgRebaseDialog", "&Revision", None))
        self.number1Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by number", None))
        self.number1Button.setText(_translate("HgRebaseDialog", "Number", None))
        self.number1SpinBox.setToolTip(_translate("HgRebaseDialog", "Enter a revision number", None))
        self.id1Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by changeset id", None))
        self.id1Button.setText(_translate("HgRebaseDialog", "Id:", None))
        self.id1Edit.setToolTip(_translate("HgRebaseDialog", "Enter a changeset id", None))
        self.tag1Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by a tag", None))
        self.tag1Button.setText(_translate("HgRebaseDialog", "Tag:", None))
        self.tag1Combo.setToolTip(_translate("HgRebaseDialog", "Enter a tag name", None))
        self.branch1Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by a branch", None))
        self.branch1Button.setText(_translate("HgRebaseDialog", "Branch:", None))
        self.branch1Combo.setToolTip(_translate("HgRebaseDialog", "Enter a branch name", None))
        self.bookmark1Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by a bookmark", None))
        self.bookmark1Button.setText(_translate("HgRebaseDialog", "Bookmark:", None))
        self.bookmark1Combo.setToolTip(_translate("HgRebaseDialog", "Enter a bookmark name", None))
        self.rev2GroupBox.setTitle(_translate("HgRebaseDialog", "&Destination Revision", None))
        self.number2Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by number", None))
        self.number2Button.setText(_translate("HgRebaseDialog", "Number", None))
        self.number2SpinBox.setToolTip(_translate("HgRebaseDialog", "Enter a revision number", None))
        self.id2Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by changeset id", None))
        self.id2Button.setText(_translate("HgRebaseDialog", "Id:", None))
        self.id2Edit.setToolTip(_translate("HgRebaseDialog", "Enter a changeset id", None))
        self.tag2Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by a tag", None))
        self.tag2Button.setText(_translate("HgRebaseDialog", "Tag:", None))
        self.tag2Combo.setToolTip(_translate("HgRebaseDialog", "Enter a tag name", None))
        self.branch2Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by a branch", None))
        self.branch2Button.setText(_translate("HgRebaseDialog", "Branch:", None))
        self.branch2Combo.setToolTip(_translate("HgRebaseDialog", "Enter a branch name", None))
        self.bookmark2Button.setToolTip(_translate("HgRebaseDialog", "Select to specify a revision by a bookmark", None))
        self.bookmark2Button.setText(_translate("HgRebaseDialog", "Bookmark:", None))
        self.bookmark2Combo.setToolTip(_translate("HgRebaseDialog", "Enter a bookmark name", None))
        self.tip2Button.setToolTip(_translate("HgRebaseDialog", "Select tip revision of repository", None))
        self.tip2Button.setText(_translate("HgRebaseDialog", "TIP", None))
        self.collapseCheckBox.setToolTip(_translate("HgRebaseDialog", "Select to collapse the rebased changesets", None))
        self.collapseCheckBox.setText(_translate("HgRebaseDialog", "Collapse Changesets", None))
        self.keepChangesetsCheckBox.setToolTip(_translate("HgRebaseDialog", "Select to keep the original changesets", None))
        self.keepChangesetsCheckBox.setText(_translate("HgRebaseDialog", "Keep Original Changesets", None))
        self.keepBranchCheckBox.setToolTip(_translate("HgRebaseDialog", "Select to keep the original branch names", None))
        self.keepBranchCheckBox.setText(_translate("HgRebaseDialog", "Keep Original Branch Name", None))
        self.detachCheckBox.setToolTip(_translate("HgRebaseDialog", "Select to detach the source from its original branch", None))
        self.detachCheckBox.setText(_translate("HgRebaseDialog", "Detach Source", None))

