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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgGraftDialog.ui'
#
# Created: Thu Mar  5 17:02:28 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_HgGraftDialog(object):
    def setupUi(self, HgGraftDialog):
        HgGraftDialog.setObjectName(_fromUtf8("HgGraftDialog"))
        HgGraftDialog.resize(450, 400)
        HgGraftDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(HgGraftDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(HgGraftDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.revisionsEdit = QtGui.QPlainTextEdit(self.groupBox)
        self.revisionsEdit.setTabChangesFocus(True)
        self.revisionsEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.revisionsEdit.setObjectName(_fromUtf8("revisionsEdit"))
        self.verticalLayout.addWidget(self.revisionsEdit)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.userGroup = QtGui.QGroupBox(HgGraftDialog)
        self.userGroup.setCheckable(True)
        self.userGroup.setChecked(False)
        self.userGroup.setObjectName(_fromUtf8("userGroup"))
        self.gridLayout = QtGui.QGridLayout(self.userGroup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.currentUserCheckBox = QtGui.QCheckBox(self.userGroup)
        self.currentUserCheckBox.setObjectName(_fromUtf8("currentUserCheckBox"))
        self.gridLayout.addWidget(self.currentUserCheckBox, 0, 0, 1, 2)
        self.label_3 = QtGui.QLabel(self.userGroup)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.userEdit = QtGui.QLineEdit(self.userGroup)
        self.userEdit.setObjectName(_fromUtf8("userEdit"))
        self.gridLayout.addWidget(self.userEdit, 1, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.userGroup)
        self.dateGroup = QtGui.QGroupBox(HgGraftDialog)
        self.dateGroup.setCheckable(True)
        self.dateGroup.setChecked(False)
        self.dateGroup.setObjectName(_fromUtf8("dateGroup"))
        self.gridLayout_2 = QtGui.QGridLayout(self.dateGroup)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.currentDateCheckBox = QtGui.QCheckBox(self.dateGroup)
        self.currentDateCheckBox.setObjectName(_fromUtf8("currentDateCheckBox"))
        self.gridLayout_2.addWidget(self.currentDateCheckBox, 0, 0, 1, 3)
        self.label_4 = QtGui.QLabel(self.dateGroup)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
        self.dateTimeEdit = QtGui.QDateTimeEdit(self.dateGroup)
        self.dateTimeEdit.setDisplayFormat(_fromUtf8("yyyy-MM-dd hh:mm"))
        self.dateTimeEdit.setCalendarPopup(True)
        self.dateTimeEdit.setObjectName(_fromUtf8("dateTimeEdit"))
        self.gridLayout_2.addWidget(self.dateTimeEdit, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(241, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 1, 2, 1, 1)
        self.verticalLayout_2.addWidget(self.dateGroup)
        self.logCheckBox = QtGui.QCheckBox(HgGraftDialog)
        self.logCheckBox.setChecked(True)
        self.logCheckBox.setObjectName(_fromUtf8("logCheckBox"))
        self.verticalLayout_2.addWidget(self.logCheckBox)
        self.dryRunCheckBox = QtGui.QCheckBox(HgGraftDialog)
        self.dryRunCheckBox.setObjectName(_fromUtf8("dryRunCheckBox"))
        self.verticalLayout_2.addWidget(self.dryRunCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgGraftDialog)
        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(HgGraftDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgGraftDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgGraftDialog.reject)
        QtCore.QObject.connect(self.currentUserCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.label_3.setDisabled)
        QtCore.QObject.connect(self.currentUserCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.userEdit.setDisabled)
        QtCore.QObject.connect(self.currentDateCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.label_4.setDisabled)
        QtCore.QObject.connect(self.currentDateCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.dateTimeEdit.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(HgGraftDialog)
        HgGraftDialog.setTabOrder(self.revisionsEdit, self.userGroup)
        HgGraftDialog.setTabOrder(self.userGroup, self.currentUserCheckBox)
        HgGraftDialog.setTabOrder(self.currentUserCheckBox, self.userEdit)
        HgGraftDialog.setTabOrder(self.userEdit, self.dateGroup)
        HgGraftDialog.setTabOrder(self.dateGroup, self.currentDateCheckBox)
        HgGraftDialog.setTabOrder(self.currentDateCheckBox, self.dateTimeEdit)
        HgGraftDialog.setTabOrder(self.dateTimeEdit, self.logCheckBox)
        HgGraftDialog.setTabOrder(self.logCheckBox, self.dryRunCheckBox)
        HgGraftDialog.setTabOrder(self.dryRunCheckBox, self.buttonBox)

    def retranslateUi(self, HgGraftDialog):
        HgGraftDialog.setWindowTitle(_translate("HgGraftDialog", "Copy Changesets", None))
        self.groupBox.setTitle(_translate("HgGraftDialog", "Revisions", None))
        self.revisionsEdit.setToolTip(_translate("HgGraftDialog", "Enter changesets by number, id, range or revset expression one per line", None))
        self.userGroup.setToolTip(_translate("HgGraftDialog", "Select to give user information", None))
        self.userGroup.setTitle(_translate("HgGraftDialog", "User", None))
        self.currentUserCheckBox.setToolTip(_translate("HgGraftDialog", "Select to use the name of the current user", None))
        self.currentUserCheckBox.setText(_translate("HgGraftDialog", "Use current user", None))
        self.label_3.setText(_translate("HgGraftDialog", "Username:", None))
        self.userEdit.setToolTip(_translate("HgGraftDialog", "Enter the user name to be used", None))
        self.dateGroup.setToolTip(_translate("HgGraftDialog", "Select to give date and time information", None))
        self.dateGroup.setTitle(_translate("HgGraftDialog", "Date and Time", None))
        self.currentDateCheckBox.setToolTip(_translate("HgGraftDialog", "Select to use the current date and time", None))
        self.currentDateCheckBox.setText(_translate("HgGraftDialog", "Use current date and time", None))
        self.label_4.setText(_translate("HgGraftDialog", "Date/Time:", None))
        self.dateTimeEdit.setToolTip(_translate("HgGraftDialog", "Enter the date and time to be used", None))
        self.logCheckBox.setToolTip(_translate("HgGraftDialog", "Select to append graft info to the log message", None))
        self.logCheckBox.setText(_translate("HgGraftDialog", "Append Graft &Info", None))
        self.dryRunCheckBox.setToolTip(_translate("HgGraftDialog", "Select to perform a dry-run of the graft operation", None))
        self.dryRunCheckBox.setText(_translate("HgGraftDialog", "Perform Dry-Run", None))

