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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgBackoutDialog.ui'
#
# Created: Sun Jan 18 22:19:52 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_HgBackoutDialog(object):
    def setupUi(self, HgBackoutDialog):
        HgBackoutDialog.setObjectName(_fromUtf8("HgBackoutDialog"))
        HgBackoutDialog.resize(372, 515)
        HgBackoutDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgBackoutDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.revisionGroup = QtGui.QGroupBox(HgBackoutDialog)
        self.revisionGroup.setObjectName(_fromUtf8("revisionGroup"))
        self.gridLayout = QtGui.QGridLayout(self.revisionGroup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.numberButton = QtGui.QRadioButton(self.revisionGroup)
        self.numberButton.setObjectName(_fromUtf8("numberButton"))
        self.gridLayout.addWidget(self.numberButton, 0, 0, 1, 1)
        self.numberSpinBox = QtGui.QSpinBox(self.revisionGroup)
        self.numberSpinBox.setEnabled(False)
        self.numberSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.numberSpinBox.setMaximum(999999999)
        self.numberSpinBox.setObjectName(_fromUtf8("numberSpinBox"))
        self.gridLayout.addWidget(self.numberSpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.idButton = QtGui.QRadioButton(self.revisionGroup)
        self.idButton.setObjectName(_fromUtf8("idButton"))
        self.gridLayout.addWidget(self.idButton, 1, 0, 1, 1)
        self.idEdit = QtGui.QLineEdit(self.revisionGroup)
        self.idEdit.setEnabled(False)
        self.idEdit.setObjectName(_fromUtf8("idEdit"))
        self.gridLayout.addWidget(self.idEdit, 1, 1, 1, 2)
        self.tagButton = QtGui.QRadioButton(self.revisionGroup)
        self.tagButton.setObjectName(_fromUtf8("tagButton"))
        self.gridLayout.addWidget(self.tagButton, 2, 0, 1, 1)
        self.tagCombo = QtGui.QComboBox(self.revisionGroup)
        self.tagCombo.setEnabled(False)
        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.setObjectName(_fromUtf8("tagCombo"))
        self.gridLayout.addWidget(self.tagCombo, 2, 1, 1, 2)
        self.branchButton = QtGui.QRadioButton(self.revisionGroup)
        self.branchButton.setObjectName(_fromUtf8("branchButton"))
        self.gridLayout.addWidget(self.branchButton, 3, 0, 1, 1)
        self.branchCombo = QtGui.QComboBox(self.revisionGroup)
        self.branchCombo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.branchCombo.sizePolicy().hasHeightForWidth())
        self.branchCombo.setSizePolicy(sizePolicy)
        self.branchCombo.setEditable(True)
        self.branchCombo.setObjectName(_fromUtf8("branchCombo"))
        self.gridLayout.addWidget(self.branchCombo, 3, 1, 1, 2)
        self.bookmarkButton = QtGui.QRadioButton(self.revisionGroup)
        self.bookmarkButton.setObjectName(_fromUtf8("bookmarkButton"))
        self.gridLayout.addWidget(self.bookmarkButton, 4, 0, 1, 1)
        self.bookmarkCombo = QtGui.QComboBox(self.revisionGroup)
        self.bookmarkCombo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bookmarkCombo.sizePolicy().hasHeightForWidth())
        self.bookmarkCombo.setSizePolicy(sizePolicy)
        self.bookmarkCombo.setEditable(True)
        self.bookmarkCombo.setObjectName(_fromUtf8("bookmarkCombo"))
        self.gridLayout.addWidget(self.bookmarkCombo, 4, 1, 1, 2)
        self.noneButton = QtGui.QRadioButton(self.revisionGroup)
        self.noneButton.setChecked(True)
        self.noneButton.setObjectName(_fromUtf8("noneButton"))
        self.gridLayout.addWidget(self.noneButton, 5, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.revisionGroup)
        self.groupBox_2 = QtGui.QGroupBox(HgBackoutDialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout.addWidget(self.label_3)
        self.messageEdit = QtGui.QPlainTextEdit(self.groupBox_2)
        self.messageEdit.setTabChangesFocus(True)
        self.messageEdit.setObjectName(_fromUtf8("messageEdit"))
        self.verticalLayout.addWidget(self.messageEdit)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.dateEdit = QtGui.QDateTimeEdit(self.groupBox_2)
        self.dateEdit.setDisplayFormat(_fromUtf8("yyyy-MM-dd HH:mm"))
        self.dateEdit.setCalendarPopup(False)
        self.dateEdit.setObjectName(_fromUtf8("dateEdit"))
        self.gridLayout_2.addWidget(self.dateEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.userEdit = QtGui.QLineEdit(self.groupBox_2)
        self.userEdit.setObjectName(_fromUtf8("userEdit"))
        self.gridLayout_2.addWidget(self.userEdit, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.mergeCheckBox = QtGui.QCheckBox(HgBackoutDialog)
        self.mergeCheckBox.setObjectName(_fromUtf8("mergeCheckBox"))
        self.verticalLayout_2.addWidget(self.mergeCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgBackoutDialog)
        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(HgBackoutDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgBackoutDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgBackoutDialog.reject)
        QtCore.QObject.connect(self.numberButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.numberSpinBox.setEnabled)
        QtCore.QObject.connect(self.idButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.idEdit.setEnabled)
        QtCore.QObject.connect(self.tagButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.tagCombo.setEnabled)
        QtCore.QObject.connect(self.branchButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.branchCombo.setEnabled)
        QtCore.QObject.connect(self.bookmarkButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.bookmarkCombo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HgBackoutDialog)
        HgBackoutDialog.setTabOrder(self.numberButton, self.numberSpinBox)
        HgBackoutDialog.setTabOrder(self.numberSpinBox, self.idButton)
        HgBackoutDialog.setTabOrder(self.idButton, self.idEdit)
        HgBackoutDialog.setTabOrder(self.idEdit, self.tagButton)
        HgBackoutDialog.setTabOrder(self.tagButton, self.tagCombo)
        HgBackoutDialog.setTabOrder(self.tagCombo, self.branchButton)
        HgBackoutDialog.setTabOrder(self.branchButton, self.branchCombo)
        HgBackoutDialog.setTabOrder(self.branchCombo, self.bookmarkButton)
        HgBackoutDialog.setTabOrder(self.bookmarkButton, self.bookmarkCombo)
        HgBackoutDialog.setTabOrder(self.bookmarkCombo, self.noneButton)
        HgBackoutDialog.setTabOrder(self.noneButton, self.messageEdit)
        HgBackoutDialog.setTabOrder(self.messageEdit, self.dateEdit)
        HgBackoutDialog.setTabOrder(self.dateEdit, self.userEdit)
        HgBackoutDialog.setTabOrder(self.userEdit, self.mergeCheckBox)
        HgBackoutDialog.setTabOrder(self.mergeCheckBox, self.buttonBox)

    def retranslateUi(self, HgBackoutDialog):
        HgBackoutDialog.setWindowTitle(_translate("HgBackoutDialog", "Mercurial Revision", None))
        self.revisionGroup.setTitle(_translate("HgBackoutDialog", "Revision", None))
        self.numberButton.setToolTip(_translate("HgBackoutDialog", "Select to specify a revision by number", None))
        self.numberButton.setText(_translate("HgBackoutDialog", "Number", None))
        self.numberSpinBox.setToolTip(_translate("HgBackoutDialog", "Enter a revision number", None))
        self.idButton.setToolTip(_translate("HgBackoutDialog", "Select to specify a revision by changeset id", None))
        self.idButton.setText(_translate("HgBackoutDialog", "Id:", None))
        self.idEdit.setToolTip(_translate("HgBackoutDialog", "Enter a changeset id", None))
        self.tagButton.setToolTip(_translate("HgBackoutDialog", "Select to specify a revision by a tag", None))
        self.tagButton.setText(_translate("HgBackoutDialog", "Tag:", None))
        self.tagCombo.setToolTip(_translate("HgBackoutDialog", "Enter a tag name", None))
        self.branchButton.setToolTip(_translate("HgBackoutDialog", "Select to specify a revision by a branch", None))
        self.branchButton.setText(_translate("HgBackoutDialog", "Branch:", None))
        self.branchCombo.setToolTip(_translate("HgBackoutDialog", "Enter a branch name", None))
        self.bookmarkButton.setToolTip(_translate("HgBackoutDialog", "Select to specify a revision by a bookmark", None))
        self.bookmarkButton.setText(_translate("HgBackoutDialog", "Bookmark:", None))
        self.bookmarkCombo.setToolTip(_translate("HgBackoutDialog", "Enter a bookmark name", None))
        self.noneButton.setToolTip(_translate("HgBackoutDialog", "Select to not specify a specific revision", None))
        self.noneButton.setText(_translate("HgBackoutDialog", "Parent", None))
        self.groupBox_2.setTitle(_translate("HgBackoutDialog", "Commit data", None))
        self.label_3.setText(_translate("HgBackoutDialog", "Commit message:", None))
        self.messageEdit.setToolTip(_translate("HgBackoutDialog", "Enter the commit message or leave empty to use the default one", None))
        self.label.setText(_translate("HgBackoutDialog", "Commit Date:", None))
        self.dateEdit.setToolTip(_translate("HgBackoutDialog", "Enter optional date for the commit", None))
        self.label_2.setText(_translate("HgBackoutDialog", "Commit User:", None))
        self.userEdit.setToolTip(_translate("HgBackoutDialog", "Enter optional user for the commit", None))
        self.mergeCheckBox.setToolTip(_translate("HgBackoutDialog", "Select to merge with parent of the project directory", None))
        self.mergeCheckBox.setText(_translate("HgBackoutDialog", "Merge with current parent", None))

