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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesRenamePatchDialog.ui'
#
# Created: Thu Mar  5 17:05:26 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_HgQueuesRenamePatchDialog(object):
    def setupUi(self, HgQueuesRenamePatchDialog):
        HgQueuesRenamePatchDialog.setObjectName(_fromUtf8("HgQueuesRenamePatchDialog"))
        HgQueuesRenamePatchDialog.resize(400, 174)
        HgQueuesRenamePatchDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgQueuesRenamePatchDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(HgQueuesRenamePatchDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.nameEdit = QtGui.QLineEdit(HgQueuesRenamePatchDialog)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.horizontalLayout.addWidget(self.nameEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.groupBox = QtGui.QGroupBox(HgQueuesRenamePatchDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.currentButton = QtGui.QRadioButton(self.groupBox)
        self.currentButton.setText(_fromUtf8("Current Patch"))
        self.currentButton.setChecked(True)
        self.currentButton.setObjectName(_fromUtf8("currentButton"))
        self.verticalLayout.addWidget(self.currentButton)
        self.namedButton = QtGui.QRadioButton(self.groupBox)
        self.namedButton.setObjectName(_fromUtf8("namedButton"))
        self.verticalLayout.addWidget(self.namedButton)
        self.nameCombo = QtGui.QComboBox(self.groupBox)
        self.nameCombo.setEnabled(False)
        self.nameCombo.setObjectName(_fromUtf8("nameCombo"))
        self.verticalLayout.addWidget(self.nameCombo)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgQueuesRenamePatchDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(HgQueuesRenamePatchDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgQueuesRenamePatchDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgQueuesRenamePatchDialog.reject)
        QtCore.QObject.connect(self.namedButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.nameCombo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgQueuesRenamePatchDialog)
        HgQueuesRenamePatchDialog.setTabOrder(self.nameEdit, self.currentButton)
        HgQueuesRenamePatchDialog.setTabOrder(self.currentButton, self.namedButton)
        HgQueuesRenamePatchDialog.setTabOrder(self.namedButton, self.nameCombo)
        HgQueuesRenamePatchDialog.setTabOrder(self.nameCombo, self.buttonBox)

    def retranslateUi(self, HgQueuesRenamePatchDialog):
        HgQueuesRenamePatchDialog.setWindowTitle(_translate("HgQueuesRenamePatchDialog", "Rename Patch", None))
        self.label.setText(_translate("HgQueuesRenamePatchDialog", "New Name:", None))
        self.nameEdit.setToolTip(_translate("HgQueuesRenamePatchDialog", "Enter the new name for the selected patch", None))
        self.groupBox.setTitle(_translate("HgQueuesRenamePatchDialog", "Patch", None))
        self.currentButton.setToolTip(_translate("HgQueuesRenamePatchDialog", "Select to rename the current patch", None))
        self.namedButton.setToolTip(_translate("HgQueuesRenamePatchDialog", "Select to rename the selected named patch", None))
        self.namedButton.setText(_translate("HgQueuesRenamePatchDialog", "Named Patch", None))
        self.nameCombo.setToolTip(_translate("HgQueuesRenamePatchDialog", "Select the patch to be renamed", None))

