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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgBranchInputDialog.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_HgBranchInputDialog(object):
    def setupUi(self, HgBranchInputDialog):
        HgBranchInputDialog.setObjectName(_fromUtf8("HgBranchInputDialog"))
        HgBranchInputDialog.resize(400, 128)
        HgBranchInputDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgBranchInputDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(HgBranchInputDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.branchComboBox = QtGui.QComboBox(HgBranchInputDialog)
        self.branchComboBox.setEditable(True)
        self.branchComboBox.setObjectName(_fromUtf8("branchComboBox"))
        self.verticalLayout.addWidget(self.branchComboBox)
        self.commitCheckBox = QtGui.QCheckBox(HgBranchInputDialog)
        self.commitCheckBox.setObjectName(_fromUtf8("commitCheckBox"))
        self.verticalLayout.addWidget(self.commitCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgBranchInputDialog)
        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(HgBranchInputDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgBranchInputDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgBranchInputDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgBranchInputDialog)
        HgBranchInputDialog.setTabOrder(self.branchComboBox, self.commitCheckBox)
        HgBranchInputDialog.setTabOrder(self.commitCheckBox, self.buttonBox)

    def retranslateUi(self, HgBranchInputDialog):
        HgBranchInputDialog.setWindowTitle(_translate("HgBranchInputDialog", "Create Branch", None))
        self.label.setText(_translate("HgBranchInputDialog", "Enter branch name:", None))
        self.branchComboBox.setToolTip(_translate("HgBranchInputDialog", "Enter the new branch name (spaces will be converted to _)", None))
        self.commitCheckBox.setToolTip(_translate("HgBranchInputDialog", "Select to commit the branch", None))
        self.commitCheckBox.setText(_translate("HgBranchInputDialog", "Commit Branch", None))

