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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgMultiRevisionSelectionDialog.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_HgMultiRevisionSelectionDialog(object):
    def setupUi(self, HgMultiRevisionSelectionDialog):
        HgMultiRevisionSelectionDialog.setObjectName(_fromUtf8("HgMultiRevisionSelectionDialog"))
        HgMultiRevisionSelectionDialog.resize(450, 338)
        HgMultiRevisionSelectionDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgMultiRevisionSelectionDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(HgMultiRevisionSelectionDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.changesetsButton = QtGui.QRadioButton(self.groupBox)
        self.changesetsButton.setChecked(True)
        self.changesetsButton.setObjectName(_fromUtf8("changesetsButton"))
        self.gridLayout.addWidget(self.changesetsButton, 0, 0, 1, 1)
        self.changesetsEdit = QtGui.QPlainTextEdit(self.groupBox)
        self.changesetsEdit.setTabChangesFocus(True)
        self.changesetsEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.changesetsEdit.setObjectName(_fromUtf8("changesetsEdit"))
        self.gridLayout.addWidget(self.changesetsEdit, 0, 1, 1, 1)
        self.tagButton = QtGui.QRadioButton(self.groupBox)
        self.tagButton.setObjectName(_fromUtf8("tagButton"))
        self.gridLayout.addWidget(self.tagButton, 1, 0, 1, 1)
        self.tagCombo = QtGui.QComboBox(self.groupBox)
        self.tagCombo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tagCombo.sizePolicy().hasHeightForWidth())
        self.tagCombo.setSizePolicy(sizePolicy)
        self.tagCombo.setEditable(True)
        self.tagCombo.setObjectName(_fromUtf8("tagCombo"))
        self.gridLayout.addWidget(self.tagCombo, 1, 1, 1, 1)
        self.branchButton = QtGui.QRadioButton(self.groupBox)
        self.branchButton.setObjectName(_fromUtf8("branchButton"))
        self.gridLayout.addWidget(self.branchButton, 2, 0, 1, 1)
        self.branchCombo = QtGui.QComboBox(self.groupBox)
        self.branchCombo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.branchCombo.sizePolicy().hasHeightForWidth())
        self.branchCombo.setSizePolicy(sizePolicy)
        self.branchCombo.setEditable(True)
        self.branchCombo.setObjectName(_fromUtf8("branchCombo"))
        self.gridLayout.addWidget(self.branchCombo, 2, 1, 1, 1)
        self.bookmarkButton = QtGui.QRadioButton(self.groupBox)
        self.bookmarkButton.setObjectName(_fromUtf8("bookmarkButton"))
        self.gridLayout.addWidget(self.bookmarkButton, 3, 0, 1, 1)
        self.bookmarkCombo = QtGui.QComboBox(self.groupBox)
        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, 3, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.limitGroup = QtGui.QGroupBox(HgMultiRevisionSelectionDialog)
        self.limitGroup.setCheckable(True)
        self.limitGroup.setChecked(False)
        self.limitGroup.setObjectName(_fromUtf8("limitGroup"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.limitGroup)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.limitGroup)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.limitSpinBox = QtGui.QSpinBox(self.limitGroup)
        self.limitSpinBox.setToolTip(_fromUtf8(""))
        self.limitSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.limitSpinBox.setMinimum(1)
        self.limitSpinBox.setMaximum(9999)
        self.limitSpinBox.setObjectName(_fromUtf8("limitSpinBox"))
        self.horizontalLayout.addWidget(self.limitSpinBox)
        spacerItem = QtGui.QSpacerItem(164, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout.addWidget(self.limitGroup)
        self.buttonBox = QtGui.QDialogButtonBox(HgMultiRevisionSelectionDialog)
        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(HgMultiRevisionSelectionDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgMultiRevisionSelectionDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgMultiRevisionSelectionDialog.reject)
        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.changesetsButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.changesetsEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgMultiRevisionSelectionDialog)
        HgMultiRevisionSelectionDialog.setTabOrder(self.changesetsButton, self.changesetsEdit)
        HgMultiRevisionSelectionDialog.setTabOrder(self.changesetsEdit, self.tagButton)
        HgMultiRevisionSelectionDialog.setTabOrder(self.tagButton, self.tagCombo)
        HgMultiRevisionSelectionDialog.setTabOrder(self.tagCombo, self.branchButton)
        HgMultiRevisionSelectionDialog.setTabOrder(self.branchButton, self.branchCombo)
        HgMultiRevisionSelectionDialog.setTabOrder(self.branchCombo, self.bookmarkButton)
        HgMultiRevisionSelectionDialog.setTabOrder(self.bookmarkButton, self.bookmarkCombo)
        HgMultiRevisionSelectionDialog.setTabOrder(self.bookmarkCombo, self.limitGroup)
        HgMultiRevisionSelectionDialog.setTabOrder(self.limitGroup, self.limitSpinBox)
        HgMultiRevisionSelectionDialog.setTabOrder(self.limitSpinBox, self.buttonBox)

    def retranslateUi(self, HgMultiRevisionSelectionDialog):
        HgMultiRevisionSelectionDialog.setWindowTitle(_translate("HgMultiRevisionSelectionDialog", "Mercurial Revisions", None))
        self.groupBox.setTitle(_translate("HgMultiRevisionSelectionDialog", "Revision", None))
        self.changesetsButton.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Select to specify a list of changesets", None))
        self.changesetsButton.setText(_translate("HgMultiRevisionSelectionDialog", "Revisions:", None))
        self.changesetsEdit.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Enter revisions by number, id, range or revset expression one per line", None))
        self.tagButton.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Select to specify a revision by a tag", None))
        self.tagButton.setText(_translate("HgMultiRevisionSelectionDialog", "Tag:", None))
        self.tagCombo.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Enter a tag name", None))
        self.branchButton.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Select to specify a revision by a branch", None))
        self.branchButton.setText(_translate("HgMultiRevisionSelectionDialog", "Branch:", None))
        self.branchCombo.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Enter a branch name", None))
        self.bookmarkButton.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Select to specify a revision by a bookmark", None))
        self.bookmarkButton.setText(_translate("HgMultiRevisionSelectionDialog", "Bookmark:", None))
        self.bookmarkCombo.setToolTip(_translate("HgMultiRevisionSelectionDialog", "Enter a bookmark name", None))
        self.limitGroup.setTitle(_translate("HgMultiRevisionSelectionDialog", "Limit Results", None))
        self.label.setText(_translate("HgMultiRevisionSelectionDialog", "Enter number of entries to show:", None))

