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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgPhaseDialog.ui'
#
# Created: Tue Oct 28 07:22:18 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_HgPhaseDialog(object):
    def setupUi(self, HgPhaseDialog):
        HgPhaseDialog.setObjectName(_fromUtf8("HgPhaseDialog"))
        HgPhaseDialog.resize(400, 186)
        HgPhaseDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(HgPhaseDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_5 = QtGui.QLabel(HgPhaseDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.revisionsEdit = QtGui.QPlainTextEdit(HgPhaseDialog)
        self.revisionsEdit.setTabChangesFocus(True)
        self.revisionsEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.revisionsEdit.setObjectName(_fromUtf8("revisionsEdit"))
        self.gridLayout.addWidget(self.revisionsEdit, 0, 1, 1, 1)
        self.label = QtGui.QLabel(HgPhaseDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.phaseCombo = QtGui.QComboBox(HgPhaseDialog)
        self.phaseCombo.setObjectName(_fromUtf8("phaseCombo"))
        self.gridLayout.addWidget(self.phaseCombo, 1, 1, 1, 1)
        self.forceCheckBox = QtGui.QCheckBox(HgPhaseDialog)
        self.forceCheckBox.setObjectName(_fromUtf8("forceCheckBox"))
        self.gridLayout.addWidget(self.forceCheckBox, 2, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(HgPhaseDialog)
        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, 3, 0, 1, 2)
        self.label_5.setBuddy(self.revisionsEdit)

        self.retranslateUi(HgPhaseDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgPhaseDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgPhaseDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgPhaseDialog)
        HgPhaseDialog.setTabOrder(self.revisionsEdit, self.phaseCombo)
        HgPhaseDialog.setTabOrder(self.phaseCombo, self.forceCheckBox)
        HgPhaseDialog.setTabOrder(self.forceCheckBox, self.buttonBox)

    def retranslateUi(self, HgPhaseDialog):
        HgPhaseDialog.setWindowTitle(_translate("HgPhaseDialog", "Mercurial Phases", None))
        self.label_5.setText(_translate("HgPhaseDialog", "&Revisions:", None))
        self.revisionsEdit.setToolTip(_translate("HgPhaseDialog", "Enter revisions by number, id, range or revset expression one per line", None))
        self.label.setText(_translate("HgPhaseDialog", "Phase:", None))
        self.phaseCombo.setToolTip(_translate("HgPhaseDialog", "Select the phase to be set for the specified revisions", None))
        self.forceCheckBox.setToolTip(_translate("HgPhaseDialog", "Select to force the phase change", None))
        self.forceCheckBox.setText(_translate("HgPhaseDialog", "Force Phase Change", None))

