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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgBookmarkDialog.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_HgBookmarkDialog(object):
    def setupUi(self, HgBookmarkDialog):
        HgBookmarkDialog.setObjectName(_fromUtf8("HgBookmarkDialog"))
        HgBookmarkDialog.resize(400, 255)
        HgBookmarkDialog.setWindowTitle(_fromUtf8(""))
        HgBookmarkDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgBookmarkDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(HgBookmarkDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.nameEdit = QtGui.QLineEdit(HgBookmarkDialog)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.horizontalLayout.addWidget(self.nameEdit)
        self.nameCombo = QtGui.QComboBox(HgBookmarkDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nameCombo.sizePolicy().hasHeightForWidth())
        self.nameCombo.setSizePolicy(sizePolicy)
        self.nameCombo.setObjectName(_fromUtf8("nameCombo"))
        self.horizontalLayout.addWidget(self.nameCombo)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.groupBox = QtGui.QGroupBox(HgBookmarkDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.numberButton = QtGui.QRadioButton(self.groupBox)
        self.numberButton.setObjectName(_fromUtf8("numberButton"))
        self.gridLayout.addWidget(self.numberButton, 0, 0, 1, 1)
        self.numberSpinBox = QtGui.QSpinBox(self.groupBox)
        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(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.idButton = QtGui.QRadioButton(self.groupBox)
        self.idButton.setObjectName(_fromUtf8("idButton"))
        self.gridLayout.addWidget(self.idButton, 1, 0, 1, 1)
        self.idEdit = QtGui.QLineEdit(self.groupBox)
        self.idEdit.setEnabled(False)
        self.idEdit.setObjectName(_fromUtf8("idEdit"))
        self.gridLayout.addWidget(self.idEdit, 1, 1, 1, 2)
        self.tagButton = QtGui.QRadioButton(self.groupBox)
        self.tagButton.setObjectName(_fromUtf8("tagButton"))
        self.gridLayout.addWidget(self.tagButton, 2, 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, 2, 1, 1, 2)
        self.branchButton = QtGui.QRadioButton(self.groupBox)
        self.branchButton.setObjectName(_fromUtf8("branchButton"))
        self.gridLayout.addWidget(self.branchButton, 3, 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, 3, 1, 1, 2)
        self.bookmarkButton = QtGui.QRadioButton(self.groupBox)
        self.bookmarkButton.setObjectName(_fromUtf8("bookmarkButton"))
        self.gridLayout.addWidget(self.bookmarkButton, 4, 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, 4, 1, 1, 2)
        self.tipButton = QtGui.QRadioButton(self.groupBox)
        self.tipButton.setChecked(True)
        self.tipButton.setObjectName(_fromUtf8("tipButton"))
        self.gridLayout.addWidget(self.tipButton, 5, 0, 1, 3)
        self.verticalLayout.addWidget(self.groupBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgBookmarkDialog)
        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(HgBookmarkDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgBookmarkDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgBookmarkDialog.reject)
        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.QMetaObject.connectSlotsByName(HgBookmarkDialog)
        HgBookmarkDialog.setTabOrder(self.nameEdit, self.nameCombo)
        HgBookmarkDialog.setTabOrder(self.nameCombo, self.numberButton)
        HgBookmarkDialog.setTabOrder(self.numberButton, self.numberSpinBox)
        HgBookmarkDialog.setTabOrder(self.numberSpinBox, self.idButton)
        HgBookmarkDialog.setTabOrder(self.idButton, self.idEdit)
        HgBookmarkDialog.setTabOrder(self.idEdit, self.tagButton)
        HgBookmarkDialog.setTabOrder(self.tagButton, self.tagCombo)
        HgBookmarkDialog.setTabOrder(self.tagCombo, self.branchButton)
        HgBookmarkDialog.setTabOrder(self.branchButton, self.branchCombo)
        HgBookmarkDialog.setTabOrder(self.branchCombo, self.bookmarkButton)
        HgBookmarkDialog.setTabOrder(self.bookmarkButton, self.bookmarkCombo)
        HgBookmarkDialog.setTabOrder(self.bookmarkCombo, self.tipButton)
        HgBookmarkDialog.setTabOrder(self.tipButton, self.buttonBox)

    def retranslateUi(self, HgBookmarkDialog):
        self.label.setText(_translate("HgBookmarkDialog", "Name:", None))
        self.nameEdit.setToolTip(_translate("HgBookmarkDialog", "Enter the bookmark name", None))
        self.nameCombo.setToolTip(_translate("HgBookmarkDialog", "Select a bookmark", None))
        self.groupBox.setTitle(_translate("HgBookmarkDialog", "Revision", None))
        self.numberButton.setToolTip(_translate("HgBookmarkDialog", "Select to specify a revision by number", None))
        self.numberButton.setText(_translate("HgBookmarkDialog", "Number", None))
        self.numberSpinBox.setToolTip(_translate("HgBookmarkDialog", "Enter a revision number", None))
        self.idButton.setToolTip(_translate("HgBookmarkDialog", "Select to specify a revision by changeset id", None))
        self.idButton.setText(_translate("HgBookmarkDialog", "Id:", None))
        self.idEdit.setToolTip(_translate("HgBookmarkDialog", "Enter a changeset id", None))
        self.tagButton.setToolTip(_translate("HgBookmarkDialog", "Select to specify a revision by a tag", None))
        self.tagButton.setText(_translate("HgBookmarkDialog", "Tag:", None))
        self.tagCombo.setToolTip(_translate("HgBookmarkDialog", "Enter a tag name", None))
        self.branchButton.setToolTip(_translate("HgBookmarkDialog", "Select to specify a revision by a branch", None))
        self.branchButton.setText(_translate("HgBookmarkDialog", "Branch:", None))
        self.branchCombo.setToolTip(_translate("HgBookmarkDialog", "Enter a branch name", None))
        self.bookmarkButton.setToolTip(_translate("HgBookmarkDialog", "Select to specify a revision by a bookmark", None))
        self.bookmarkButton.setText(_translate("HgBookmarkDialog", "Bookmark:", None))
        self.bookmarkCombo.setToolTip(_translate("HgBookmarkDialog", "Enter a bookmark name", None))
        self.tipButton.setToolTip(_translate("HgBookmarkDialog", "Select tip revision of repository", None))
        self.tipButton.setText(_translate("HgBookmarkDialog", "Parent", None))

