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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.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_HgCommitDialog(object):
    def setupUi(self, HgCommitDialog):
        HgCommitDialog.setObjectName(_fromUtf8("HgCommitDialog"))
        HgCommitDialog.resize(450, 350)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgCommitDialog)
        self.verticalLayout_2.setMargin(6)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.logGroup = QtGui.QGroupBox(HgCommitDialog)
        self.logGroup.setObjectName(_fromUtf8("logGroup"))
        self.verticalLayout = QtGui.QVBoxLayout(self.logGroup)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.logEdit = QtGui.QTextEdit(self.logGroup)
        self.logEdit.setTabChangesFocus(True)
        self.logEdit.setAcceptRichText(False)
        self.logEdit.setObjectName(_fromUtf8("logEdit"))
        self.verticalLayout.addWidget(self.logEdit)
        self.label = QtGui.QLabel(self.logGroup)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.recentComboBox = QtGui.QComboBox(self.logGroup)
        self.recentComboBox.setObjectName(_fromUtf8("recentComboBox"))
        self.verticalLayout.addWidget(self.recentComboBox)
        self.verticalLayout_2.addWidget(self.logGroup)
        self.amendCheckBox = QtGui.QCheckBox(HgCommitDialog)
        self.amendCheckBox.setObjectName(_fromUtf8("amendCheckBox"))
        self.verticalLayout_2.addWidget(self.amendCheckBox)
        self.subrepoCheckBox = QtGui.QCheckBox(HgCommitDialog)
        self.subrepoCheckBox.setObjectName(_fromUtf8("subrepoCheckBox"))
        self.verticalLayout_2.addWidget(self.subrepoCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgCommitDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(HgCommitDialog)
        QtCore.QMetaObject.connectSlotsByName(HgCommitDialog)
        HgCommitDialog.setTabOrder(self.logEdit, self.recentComboBox)
        HgCommitDialog.setTabOrder(self.recentComboBox, self.amendCheckBox)
        HgCommitDialog.setTabOrder(self.amendCheckBox, self.subrepoCheckBox)
        HgCommitDialog.setTabOrder(self.subrepoCheckBox, self.buttonBox)

    def retranslateUi(self, HgCommitDialog):
        HgCommitDialog.setWindowTitle(_translate("HgCommitDialog", "Mercurial", None))
        self.logGroup.setTitle(_translate("HgCommitDialog", "Commit Message", None))
        self.logEdit.setToolTip(_translate("HgCommitDialog", "Enter the log message.", None))
        self.logEdit.setWhatsThis(_translate("HgCommitDialog", "<b>Log Message</b>\n"
"<p>Enter the log message for the commit action.</p>", None))
        self.label.setText(_translate("HgCommitDialog", "Recent commit messages", None))
        self.recentComboBox.setToolTip(_translate("HgCommitDialog", "Select a recent commit message to use", None))
        self.amendCheckBox.setToolTip(_translate("HgCommitDialog", "Select to amend the last commit (leave message empty to keep it)", None))
        self.amendCheckBox.setText(_translate("HgCommitDialog", "Amend the last commit", None))
        self.subrepoCheckBox.setToolTip(_translate("HgCommitDialog", "Select to commit sub-repositories as well", None))
        self.subrepoCheckBox.setText(_translate("HgCommitDialog", "Commit sub-repositories", None))

