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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgTagDialog.ui'
#
# Created: Tue Oct 28 07:22:44 2014
#      by: PyQt4 UI code generator 4.11.2
#
# 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_HgTagDialog(object):
    def setupUi(self, HgTagDialog):
        HgTagDialog.setObjectName(_fromUtf8("HgTagDialog"))
        HgTagDialog.resize(391, 255)
        HgTagDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(HgTagDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.TextLabel1 = QtGui.QLabel(HgTagDialog)
        self.TextLabel1.setObjectName(_fromUtf8("TextLabel1"))
        self.gridLayout.addWidget(self.TextLabel1, 0, 0, 1, 1)
        self.tagCombo = QtGui.QComboBox(HgTagDialog)
        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.setAutoCompletion(True)
        self.tagCombo.setDuplicatesEnabled(False)
        self.tagCombo.setObjectName(_fromUtf8("tagCombo"))
        self.gridLayout.addWidget(self.tagCombo, 0, 1, 1, 1)
        self.label = QtGui.QLabel(HgTagDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.revisionEdit = QtGui.QLineEdit(HgTagDialog)
        self.revisionEdit.setObjectName(_fromUtf8("revisionEdit"))
        self.gridLayout.addWidget(self.revisionEdit, 1, 1, 1, 1)
        self.tagActionGroup = QtGui.QGroupBox(HgTagDialog)
        self.tagActionGroup.setObjectName(_fromUtf8("tagActionGroup"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tagActionGroup)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.createTagButton = QtGui.QRadioButton(self.tagActionGroup)
        self.createTagButton.setChecked(True)
        self.createTagButton.setObjectName(_fromUtf8("createTagButton"))
        self.horizontalLayout_2.addWidget(self.createTagButton)
        self.deleteTagButton = QtGui.QRadioButton(self.tagActionGroup)
        self.deleteTagButton.setObjectName(_fromUtf8("deleteTagButton"))
        self.horizontalLayout_2.addWidget(self.deleteTagButton)
        self.gridLayout.addWidget(self.tagActionGroup, 2, 0, 1, 2)
        self.tagTypeGroup = QtGui.QGroupBox(HgTagDialog)
        self.tagTypeGroup.setObjectName(_fromUtf8("tagTypeGroup"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.tagTypeGroup)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.globalTagButton = QtGui.QRadioButton(self.tagTypeGroup)
        self.globalTagButton.setChecked(True)
        self.globalTagButton.setObjectName(_fromUtf8("globalTagButton"))
        self.horizontalLayout.addWidget(self.globalTagButton)
        self.localTagButton = QtGui.QRadioButton(self.tagTypeGroup)
        self.localTagButton.setObjectName(_fromUtf8("localTagButton"))
        self.horizontalLayout.addWidget(self.localTagButton)
        self.gridLayout.addWidget(self.tagTypeGroup, 3, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(HgTagDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 2)

        self.retranslateUi(HgTagDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgTagDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgTagDialog.reject)
        QtCore.QObject.connect(self.deleteTagButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.revisionEdit.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(HgTagDialog)
        HgTagDialog.setTabOrder(self.tagCombo, self.revisionEdit)
        HgTagDialog.setTabOrder(self.revisionEdit, self.createTagButton)
        HgTagDialog.setTabOrder(self.createTagButton, self.deleteTagButton)
        HgTagDialog.setTabOrder(self.deleteTagButton, self.globalTagButton)
        HgTagDialog.setTabOrder(self.globalTagButton, self.localTagButton)
        HgTagDialog.setTabOrder(self.localTagButton, self.buttonBox)

    def retranslateUi(self, HgTagDialog):
        HgTagDialog.setWindowTitle(_translate("HgTagDialog", "Mercurial Tag", None))
        self.TextLabel1.setText(_translate("HgTagDialog", "Name:", None))
        self.tagCombo.setToolTip(_translate("HgTagDialog", "Enter the name of the tag", None))
        self.tagCombo.setWhatsThis(_translate("HgTagDialog", "<b>Tag Name</b>\n"
"<p>Enter the name of the tag to be created, moved or deleted.</p>", None))
        self.label.setText(_translate("HgTagDialog", "Revision:", None))
        self.revisionEdit.setToolTip(_translate("HgTagDialog", "Enter a revision to set a tag for", None))
        self.tagActionGroup.setTitle(_translate("HgTagDialog", "Tag Action", None))
        self.createTagButton.setToolTip(_translate("HgTagDialog", "Select to create a tag", None))
        self.createTagButton.setWhatsThis(_translate("HgTagDialog", "<b>Create Tag</b>\n"
"<p>Select this entry in order to create a tag.</p>", None))
        self.createTagButton.setText(_translate("HgTagDialog", "Create Tag", None))
        self.deleteTagButton.setToolTip(_translate("HgTagDialog", "Select to delete a tag", None))
        self.deleteTagButton.setWhatsThis(_translate("HgTagDialog", "<b>Delete Tag</b>\n"
"<p>Select this entry in order to delete the selected tag.</p>", None))
        self.deleteTagButton.setText(_translate("HgTagDialog", "Delete Tag", None))
        self.tagTypeGroup.setTitle(_translate("HgTagDialog", "Tag Type", None))
        self.globalTagButton.setToolTip(_translate("HgTagDialog", "Select to create/delete a global tag", None))
        self.globalTagButton.setText(_translate("HgTagDialog", "Global Tag", None))
        self.localTagButton.setToolTip(_translate("HgTagDialog", "Select to create/delete a local tag", None))
        self.localTagButton.setText(_translate("HgTagDialog", "Local Tag", None))

