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

# Form implementation generated from reading ui file 'eric/eric6/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_HgRevisionsSelectionDialog(object):
    def setupUi(self, HgRevisionsSelectionDialog):
        HgRevisionsSelectionDialog.setObjectName("HgRevisionsSelectionDialog")
        HgRevisionsSelectionDialog.resize(371, 505)
        HgRevisionsSelectionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(HgRevisionsSelectionDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.rev1GroupBox = QtWidgets.QGroupBox(HgRevisionsSelectionDialog)
        self.rev1GroupBox.setObjectName("rev1GroupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.rev1GroupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.number1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.number1Button.setChecked(False)
        self.number1Button.setObjectName("number1Button")
        self.gridLayout.addWidget(self.number1Button, 0, 0, 1, 1)
        self.number1SpinBox = QtWidgets.QSpinBox(self.rev1GroupBox)
        self.number1SpinBox.setEnabled(False)
        self.number1SpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.number1SpinBox.setMaximum(999999999)
        self.number1SpinBox.setObjectName("number1SpinBox")
        self.gridLayout.addWidget(self.number1SpinBox, 0, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.id1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.id1Button.setObjectName("id1Button")
        self.gridLayout.addWidget(self.id1Button, 1, 0, 1, 1)
        self.id1Edit = QtWidgets.QLineEdit(self.rev1GroupBox)
        self.id1Edit.setEnabled(False)
        self.id1Edit.setObjectName("id1Edit")
        self.gridLayout.addWidget(self.id1Edit, 1, 1, 1, 2)
        self.tag1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.tag1Button.setObjectName("tag1Button")
        self.gridLayout.addWidget(self.tag1Button, 2, 0, 1, 1)
        self.tag1Combo = QtWidgets.QComboBox(self.rev1GroupBox)
        self.tag1Combo.setEnabled(False)
        self.tag1Combo.setEditable(True)
        self.tag1Combo.setObjectName("tag1Combo")
        self.gridLayout.addWidget(self.tag1Combo, 2, 1, 1, 2)
        self.branch1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.branch1Button.setObjectName("branch1Button")
        self.gridLayout.addWidget(self.branch1Button, 3, 0, 1, 1)
        self.branch1Combo = QtWidgets.QComboBox(self.rev1GroupBox)
        self.branch1Combo.setEnabled(False)
        self.branch1Combo.setEditable(True)
        self.branch1Combo.setObjectName("branch1Combo")
        self.gridLayout.addWidget(self.branch1Combo, 3, 1, 1, 2)
        self.bookmark1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.bookmark1Button.setObjectName("bookmark1Button")
        self.gridLayout.addWidget(self.bookmark1Button, 4, 0, 1, 1)
        self.bookmark1Combo = QtWidgets.QComboBox(self.rev1GroupBox)
        self.bookmark1Combo.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.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("bookmark1Combo")
        self.gridLayout.addWidget(self.bookmark1Combo, 4, 1, 1, 2)
        self.tip1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.tip1Button.setChecked(False)
        self.tip1Button.setObjectName("tip1Button")
        self.gridLayout.addWidget(self.tip1Button, 5, 0, 1, 3)
        self.prev1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.prev1Button.setChecked(True)
        self.prev1Button.setObjectName("prev1Button")
        self.gridLayout.addWidget(self.prev1Button, 6, 0, 1, 3)
        self.none1Button = QtWidgets.QRadioButton(self.rev1GroupBox)
        self.none1Button.setObjectName("none1Button")
        self.gridLayout.addWidget(self.none1Button, 7, 0, 1, 3)
        self.verticalLayout.addWidget(self.rev1GroupBox)
        self.rev2GroupBox = QtWidgets.QGroupBox(HgRevisionsSelectionDialog)
        self.rev2GroupBox.setObjectName("rev2GroupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.rev2GroupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.number2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.number2Button.setObjectName("number2Button")
        self.gridLayout_2.addWidget(self.number2Button, 0, 0, 1, 1)
        self.number2SpinBox = QtWidgets.QSpinBox(self.rev2GroupBox)
        self.number2SpinBox.setEnabled(False)
        self.number2SpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.number2SpinBox.setMaximum(999999999)
        self.number2SpinBox.setObjectName("number2SpinBox")
        self.gridLayout_2.addWidget(self.number2SpinBox, 0, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1)
        self.id2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.id2Button.setObjectName("id2Button")
        self.gridLayout_2.addWidget(self.id2Button, 1, 0, 1, 1)
        self.id2Edit = QtWidgets.QLineEdit(self.rev2GroupBox)
        self.id2Edit.setEnabled(False)
        self.id2Edit.setObjectName("id2Edit")
        self.gridLayout_2.addWidget(self.id2Edit, 1, 1, 1, 2)
        self.tag2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.tag2Button.setObjectName("tag2Button")
        self.gridLayout_2.addWidget(self.tag2Button, 2, 0, 1, 1)
        self.tag2Combo = QtWidgets.QComboBox(self.rev2GroupBox)
        self.tag2Combo.setEnabled(False)
        self.tag2Combo.setEditable(True)
        self.tag2Combo.setObjectName("tag2Combo")
        self.gridLayout_2.addWidget(self.tag2Combo, 2, 1, 1, 2)
        self.branch2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.branch2Button.setObjectName("branch2Button")
        self.gridLayout_2.addWidget(self.branch2Button, 3, 0, 1, 1)
        self.branch2Combo = QtWidgets.QComboBox(self.rev2GroupBox)
        self.branch2Combo.setEnabled(False)
        self.branch2Combo.setEditable(True)
        self.branch2Combo.setObjectName("branch2Combo")
        self.gridLayout_2.addWidget(self.branch2Combo, 3, 1, 1, 2)
        self.bookmark2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.bookmark2Button.setObjectName("bookmark2Button")
        self.gridLayout_2.addWidget(self.bookmark2Button, 4, 0, 1, 1)
        self.bookmark2Combo = QtWidgets.QComboBox(self.rev2GroupBox)
        self.bookmark2Combo.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.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("bookmark2Combo")
        self.gridLayout_2.addWidget(self.bookmark2Combo, 4, 1, 1, 2)
        self.tip2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.tip2Button.setChecked(True)
        self.tip2Button.setObjectName("tip2Button")
        self.gridLayout_2.addWidget(self.tip2Button, 5, 0, 1, 3)
        self.prev2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.prev2Button.setObjectName("prev2Button")
        self.gridLayout_2.addWidget(self.prev2Button, 6, 0, 1, 3)
        self.none2Button = QtWidgets.QRadioButton(self.rev2GroupBox)
        self.none2Button.setObjectName("none2Button")
        self.gridLayout_2.addWidget(self.none2Button, 7, 0, 1, 3)
        self.verticalLayout.addWidget(self.rev2GroupBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(HgRevisionsSelectionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgRevisionsSelectionDialog)
        self.buttonBox.accepted.connect(HgRevisionsSelectionDialog.accept)
        self.buttonBox.rejected.connect(HgRevisionsSelectionDialog.reject)
        self.number1Button.toggled['bool'].connect(self.number1SpinBox.setEnabled)
        self.number2Button.toggled['bool'].connect(self.number2SpinBox.setEnabled)
        self.id1Button.toggled['bool'].connect(self.id1Edit.setEnabled)
        self.id2Button.toggled['bool'].connect(self.id2Edit.setEnabled)
        self.tag1Button.toggled['bool'].connect(self.tag1Combo.setEnabled)
        self.branch1Button.toggled['bool'].connect(self.branch1Combo.setEnabled)
        self.tag2Button.toggled['bool'].connect(self.tag2Combo.setEnabled)
        self.branch2Button.toggled['bool'].connect(self.branch2Combo.setEnabled)
        self.bookmark1Button.toggled['bool'].connect(self.bookmark1Combo.setEnabled)
        self.bookmark2Button.toggled['bool'].connect(self.bookmark2Combo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgRevisionsSelectionDialog)
        HgRevisionsSelectionDialog.setTabOrder(self.number1Button, self.number1SpinBox)
        HgRevisionsSelectionDialog.setTabOrder(self.number1SpinBox, self.id1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.id1Button, self.id1Edit)
        HgRevisionsSelectionDialog.setTabOrder(self.id1Edit, self.tag1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.tag1Button, self.tag1Combo)
        HgRevisionsSelectionDialog.setTabOrder(self.tag1Combo, self.branch1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.branch1Button, self.branch1Combo)
        HgRevisionsSelectionDialog.setTabOrder(self.branch1Combo, self.bookmark1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.bookmark1Button, self.bookmark1Combo)
        HgRevisionsSelectionDialog.setTabOrder(self.bookmark1Combo, self.tip1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.tip1Button, self.prev1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.prev1Button, self.none1Button)
        HgRevisionsSelectionDialog.setTabOrder(self.none1Button, self.number2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.number2Button, self.number2SpinBox)
        HgRevisionsSelectionDialog.setTabOrder(self.number2SpinBox, self.id2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.id2Button, self.id2Edit)
        HgRevisionsSelectionDialog.setTabOrder(self.id2Edit, self.tag2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.tag2Button, self.tag2Combo)
        HgRevisionsSelectionDialog.setTabOrder(self.tag2Combo, self.branch2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.branch2Button, self.branch2Combo)
        HgRevisionsSelectionDialog.setTabOrder(self.branch2Combo, self.bookmark2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.bookmark2Button, self.bookmark2Combo)
        HgRevisionsSelectionDialog.setTabOrder(self.bookmark2Combo, self.tip2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.tip2Button, self.prev2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.prev2Button, self.none2Button)
        HgRevisionsSelectionDialog.setTabOrder(self.none2Button, self.buttonBox)

    def retranslateUi(self, HgRevisionsSelectionDialog):
        _translate = QtCore.QCoreApplication.translate
        HgRevisionsSelectionDialog.setWindowTitle(_translate("HgRevisionsSelectionDialog", "Mercurial Diff"))
        self.rev1GroupBox.setTitle(_translate("HgRevisionsSelectionDialog", "Revision &1"))
        self.number1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by number"))
        self.number1Button.setText(_translate("HgRevisionsSelectionDialog", "Number"))
        self.number1SpinBox.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a revision number"))
        self.id1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by changeset id"))
        self.id1Button.setText(_translate("HgRevisionsSelectionDialog", "Id:"))
        self.id1Edit.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a changeset id"))
        self.tag1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a tag"))
        self.tag1Button.setText(_translate("HgRevisionsSelectionDialog", "Tag:"))
        self.tag1Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a tag name"))
        self.branch1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a branch"))
        self.branch1Button.setText(_translate("HgRevisionsSelectionDialog", "Branch:"))
        self.branch1Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a branch name"))
        self.bookmark1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a bookmark"))
        self.bookmark1Button.setText(_translate("HgRevisionsSelectionDialog", "Bookmark:"))
        self.bookmark1Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a bookmark name"))
        self.tip1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select tip revision of repository"))
        self.tip1Button.setText(_translate("HgRevisionsSelectionDialog", "TIP"))
        self.prev1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select revision before last commit"))
        self.prev1Button.setText(_translate("HgRevisionsSelectionDialog", "PREV"))
        self.none1Button.setText(_translate("HgRevisionsSelectionDialog", "No revision selected"))
        self.rev2GroupBox.setTitle(_translate("HgRevisionsSelectionDialog", "Revision &2"))
        self.number2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by number"))
        self.number2Button.setText(_translate("HgRevisionsSelectionDialog", "Number"))
        self.number2SpinBox.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a revision number"))
        self.id2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by changeset id"))
        self.id2Button.setText(_translate("HgRevisionsSelectionDialog", "Id:"))
        self.id2Edit.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a changeset id"))
        self.tag2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a tag"))
        self.tag2Button.setText(_translate("HgRevisionsSelectionDialog", "Tag:"))
        self.tag2Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a tag name"))
        self.branch2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a branch"))
        self.branch2Button.setText(_translate("HgRevisionsSelectionDialog", "Branch:"))
        self.branch2Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a branch name"))
        self.bookmark2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a bookmark"))
        self.bookmark2Button.setText(_translate("HgRevisionsSelectionDialog", "Bookmark:"))
        self.bookmark2Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a bookmark name"))
        self.tip2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select tip revision of repository"))
        self.tip2Button.setText(_translate("HgRevisionsSelectionDialog", "TIP"))
        self.prev2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select revision before last commit"))
        self.prev2Button.setText(_translate("HgRevisionsSelectionDialog", "PREV"))
        self.none2Button.setText(_translate("HgRevisionsSelectionDialog", "No revision selected"))
