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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.ui'
#
# Created: Sun Jan 18 22:19:52 2015
#      by: PyQt4 UI code generator 4.11.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_HgRevisionsSelectionDialog(object):
    def setupUi(self, HgRevisionsSelectionDialog):
        HgRevisionsSelectionDialog.setObjectName(_fromUtf8("HgRevisionsSelectionDialog"))
        HgRevisionsSelectionDialog.resize(371, 505)
        HgRevisionsSelectionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgRevisionsSelectionDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.rev1GroupBox = QtGui.QGroupBox(HgRevisionsSelectionDialog)
        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(False)
        self.number1Button.setObjectName(_fromUtf8("number1Button"))
        self.gridLayout.addWidget(self.number1Button, 0, 0, 1, 1)
        self.number1SpinBox = QtGui.QSpinBox(self.rev1GroupBox)
        self.number1SpinBox.setEnabled(False)
        self.number1SpinBox.setAlignment(QtCore.Qt.AlignRight)
        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.tip1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.tip1Button.setChecked(False)
        self.tip1Button.setObjectName(_fromUtf8("tip1Button"))
        self.gridLayout.addWidget(self.tip1Button, 5, 0, 1, 3)
        self.prev1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.prev1Button.setChecked(True)
        self.prev1Button.setObjectName(_fromUtf8("prev1Button"))
        self.gridLayout.addWidget(self.prev1Button, 6, 0, 1, 3)
        self.none1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.none1Button.setObjectName(_fromUtf8("none1Button"))
        self.gridLayout.addWidget(self.none1Button, 7, 0, 1, 3)
        self.verticalLayout.addWidget(self.rev1GroupBox)
        self.rev2GroupBox = QtGui.QGroupBox(HgRevisionsSelectionDialog)
        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.setMaximum(999999999)
        self.number2SpinBox.setObjectName(_fromUtf8("number2SpinBox"))
        self.gridLayout_2.addWidget(self.number2SpinBox, 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.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.prev2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.prev2Button.setObjectName(_fromUtf8("prev2Button"))
        self.gridLayout_2.addWidget(self.prev2Button, 6, 0, 1, 3)
        self.none2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.none2Button.setObjectName(_fromUtf8("none2Button"))
        self.gridLayout_2.addWidget(self.none2Button, 7, 0, 1, 3)
        self.verticalLayout.addWidget(self.rev2GroupBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgRevisionsSelectionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgRevisionsSelectionDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgRevisionsSelectionDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgRevisionsSelectionDialog.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.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):
        HgRevisionsSelectionDialog.setWindowTitle(_translate("HgRevisionsSelectionDialog", "Mercurial Diff", None))
        self.rev1GroupBox.setTitle(_translate("HgRevisionsSelectionDialog", "Revision &1", None))
        self.number1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by number", None))
        self.number1Button.setText(_translate("HgRevisionsSelectionDialog", "Number", None))
        self.number1SpinBox.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a revision number", None))
        self.id1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by changeset id", None))
        self.id1Button.setText(_translate("HgRevisionsSelectionDialog", "Id:", None))
        self.id1Edit.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a changeset id", None))
        self.tag1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a tag", None))
        self.tag1Button.setText(_translate("HgRevisionsSelectionDialog", "Tag:", None))
        self.tag1Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a tag name", None))
        self.branch1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a branch", None))
        self.branch1Button.setText(_translate("HgRevisionsSelectionDialog", "Branch:", None))
        self.branch1Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a branch name", None))
        self.bookmark1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a bookmark", None))
        self.bookmark1Button.setText(_translate("HgRevisionsSelectionDialog", "Bookmark:", None))
        self.bookmark1Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a bookmark name", None))
        self.tip1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select tip revision of repository", None))
        self.tip1Button.setText(_translate("HgRevisionsSelectionDialog", "TIP", None))
        self.prev1Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select revision before last commit", None))
        self.prev1Button.setText(_translate("HgRevisionsSelectionDialog", "PREV", None))
        self.none1Button.setText(_translate("HgRevisionsSelectionDialog", "No revision selected", None))
        self.rev2GroupBox.setTitle(_translate("HgRevisionsSelectionDialog", "Revision &2", None))
        self.number2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by number", None))
        self.number2Button.setText(_translate("HgRevisionsSelectionDialog", "Number", None))
        self.number2SpinBox.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a revision number", None))
        self.id2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by changeset id", None))
        self.id2Button.setText(_translate("HgRevisionsSelectionDialog", "Id:", None))
        self.id2Edit.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a changeset id", None))
        self.tag2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a tag", None))
        self.tag2Button.setText(_translate("HgRevisionsSelectionDialog", "Tag:", None))
        self.tag2Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a tag name", None))
        self.branch2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a branch", None))
        self.branch2Button.setText(_translate("HgRevisionsSelectionDialog", "Branch:", None))
        self.branch2Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a branch name", None))
        self.bookmark2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select to specify a revision by a bookmark", None))
        self.bookmark2Button.setText(_translate("HgRevisionsSelectionDialog", "Bookmark:", None))
        self.bookmark2Combo.setToolTip(_translate("HgRevisionsSelectionDialog", "Enter a bookmark name", None))
        self.tip2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select tip revision of repository", None))
        self.tip2Button.setText(_translate("HgRevisionsSelectionDialog", "TIP", None))
        self.prev2Button.setToolTip(_translate("HgRevisionsSelectionDialog", "Select revision before last commit", None))
        self.prev2Button.setText(_translate("HgRevisionsSelectionDialog", "PREV", None))
        self.none2Button.setText(_translate("HgRevisionsSelectionDialog", "No revision selected", None))

