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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/TransplantDialog.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_TransplantDialog(object):
    def setupUi(self, TransplantDialog):
        TransplantDialog.setObjectName(_fromUtf8("TransplantDialog"))
        TransplantDialog.resize(450, 382)
        TransplantDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(TransplantDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_5 = QtGui.QLabel(TransplantDialog)
        self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.revisionsEdit = QtGui.QPlainTextEdit(TransplantDialog)
        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(TransplantDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.repoEdit = QtGui.QLineEdit(TransplantDialog)
        self.repoEdit.setObjectName(_fromUtf8("repoEdit"))
        self.gridLayout.addWidget(self.repoEdit, 1, 1, 1, 1)
        self.label_2 = QtGui.QLabel(TransplantDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.branchesCombo = QtGui.QComboBox(TransplantDialog)
        self.branchesCombo.setEditable(True)
        self.branchesCombo.setObjectName(_fromUtf8("branchesCombo"))
        self.gridLayout.addWidget(self.branchesCombo, 2, 1, 1, 1)
        self.allCheckBox = QtGui.QCheckBox(TransplantDialog)
        self.allCheckBox.setEnabled(False)
        self.allCheckBox.setObjectName(_fromUtf8("allCheckBox"))
        self.gridLayout.addWidget(self.allCheckBox, 3, 0, 1, 2)
        self.label_3 = QtGui.QLabel(TransplantDialog)
        self.label_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
        self.pruneEdit = QtGui.QPlainTextEdit(TransplantDialog)
        self.pruneEdit.setTabChangesFocus(True)
        self.pruneEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.pruneEdit.setObjectName(_fromUtf8("pruneEdit"))
        self.gridLayout.addWidget(self.pruneEdit, 4, 1, 1, 1)
        self.label_4 = QtGui.QLabel(TransplantDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1)
        self.mergeEdit = QtGui.QLineEdit(TransplantDialog)
        self.mergeEdit.setObjectName(_fromUtf8("mergeEdit"))
        self.gridLayout.addWidget(self.mergeEdit, 5, 1, 1, 1)
        self.logCheckBox = QtGui.QCheckBox(TransplantDialog)
        self.logCheckBox.setChecked(True)
        self.logCheckBox.setObjectName(_fromUtf8("logCheckBox"))
        self.gridLayout.addWidget(self.logCheckBox, 6, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TransplantDialog)
        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, 7, 0, 1, 2)
        self.label_5.setBuddy(self.revisionsEdit)
        self.label.setBuddy(self.repoEdit)
        self.label_2.setBuddy(self.branchesCombo)
        self.label_3.setBuddy(self.pruneEdit)
        self.label_4.setBuddy(self.mergeEdit)

        self.retranslateUi(TransplantDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TransplantDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TransplantDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TransplantDialog)
        TransplantDialog.setTabOrder(self.revisionsEdit, self.repoEdit)
        TransplantDialog.setTabOrder(self.repoEdit, self.branchesCombo)
        TransplantDialog.setTabOrder(self.branchesCombo, self.allCheckBox)
        TransplantDialog.setTabOrder(self.allCheckBox, self.pruneEdit)
        TransplantDialog.setTabOrder(self.pruneEdit, self.mergeEdit)
        TransplantDialog.setTabOrder(self.mergeEdit, self.logCheckBox)
        TransplantDialog.setTabOrder(self.logCheckBox, self.buttonBox)

    def retranslateUi(self, TransplantDialog):
        TransplantDialog.setWindowTitle(_translate("TransplantDialog", "Transplant Changesets", None))
        self.label_5.setText(_translate("TransplantDialog", "&Revisions:", None))
        self.revisionsEdit.setToolTip(_translate("TransplantDialog", "Enter changesets by number, id, range or revset expression one per line", None))
        self.label.setText(_translate("TransplantDialog", "Repositor&y:", None))
        self.repoEdit.setToolTip(_translate("TransplantDialog", "Enter a repository URL, if changesets shall be transplanted from a repository", None))
        self.label_2.setText(_translate("TransplantDialog", "&Branch:", None))
        self.branchesCombo.setToolTip(_translate("TransplantDialog", "Select or enter the branch to transplant from", None))
        self.allCheckBox.setToolTip(_translate("TransplantDialog", "Select to transplant all changesets of the branch", None))
        self.allCheckBox.setText(_translate("TransplantDialog", "Transplant &All Changesets", None))
        self.label_3.setText(_translate("TransplantDialog", "&Skip:", None))
        self.pruneEdit.setToolTip(_translate("TransplantDialog", "Enter changesets by number, id, range or revset expression one per line", None))
        self.label_4.setText(_translate("TransplantDialog", "&Merge:", None))
        self.mergeEdit.setToolTip(_translate("TransplantDialog", "Enter revisions to be merged separated by a space character", None))
        self.logCheckBox.setToolTip(_translate("TransplantDialog", "Select to append transplant info to the log message", None))
        self.logCheckBox.setText(_translate("TransplantDialog", "Append Transplant &Info", None))

