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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/TransplantDialog.ui'
#
# Created by: PyQt5 UI code generator 5.5.1
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_TransplantDialog(object):
    def setupUi(self, TransplantDialog):
        TransplantDialog.setObjectName("TransplantDialog")
        TransplantDialog.resize(450, 382)
        TransplantDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(TransplantDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label_5 = QtWidgets.QLabel(TransplantDialog)
        self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.revisionsEdit = QtWidgets.QPlainTextEdit(TransplantDialog)
        self.revisionsEdit.setTabChangesFocus(True)
        self.revisionsEdit.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
        self.revisionsEdit.setObjectName("revisionsEdit")
        self.gridLayout.addWidget(self.revisionsEdit, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(TransplantDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.repoEdit = QtWidgets.QLineEdit(TransplantDialog)
        self.repoEdit.setObjectName("repoEdit")
        self.gridLayout.addWidget(self.repoEdit, 1, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(TransplantDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.branchesCombo = QtWidgets.QComboBox(TransplantDialog)
        self.branchesCombo.setEditable(True)
        self.branchesCombo.setObjectName("branchesCombo")
        self.gridLayout.addWidget(self.branchesCombo, 2, 1, 1, 1)
        self.allCheckBox = QtWidgets.QCheckBox(TransplantDialog)
        self.allCheckBox.setEnabled(False)
        self.allCheckBox.setObjectName("allCheckBox")
        self.gridLayout.addWidget(self.allCheckBox, 3, 0, 1, 2)
        self.label_3 = QtWidgets.QLabel(TransplantDialog)
        self.label_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
        self.pruneEdit = QtWidgets.QPlainTextEdit(TransplantDialog)
        self.pruneEdit.setTabChangesFocus(True)
        self.pruneEdit.setLineWrapMode(QtWidgets.QPlainTextEdit.NoWrap)
        self.pruneEdit.setObjectName("pruneEdit")
        self.gridLayout.addWidget(self.pruneEdit, 4, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(TransplantDialog)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1)
        self.mergeEdit = QtWidgets.QLineEdit(TransplantDialog)
        self.mergeEdit.setObjectName("mergeEdit")
        self.gridLayout.addWidget(self.mergeEdit, 5, 1, 1, 1)
        self.logCheckBox = QtWidgets.QCheckBox(TransplantDialog)
        self.logCheckBox.setChecked(True)
        self.logCheckBox.setObjectName("logCheckBox")
        self.gridLayout.addWidget(self.logCheckBox, 6, 0, 1, 2)
        self.buttonBox = QtWidgets.QDialogButtonBox(TransplantDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("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)
        self.buttonBox.accepted.connect(TransplantDialog.accept)
        self.buttonBox.rejected.connect(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):
        _translate = QtCore.QCoreApplication.translate
        TransplantDialog.setWindowTitle(_translate("TransplantDialog", "Transplant Changesets"))
        self.label_5.setText(_translate("TransplantDialog", "&Revisions:"))
        self.revisionsEdit.setToolTip(_translate("TransplantDialog", "Enter changesets by number, id, range or revset expression one per line"))
        self.label.setText(_translate("TransplantDialog", "Repositor&y:"))
        self.repoEdit.setToolTip(_translate("TransplantDialog", "Enter a repository URL, if changesets shall be transplanted from a repository"))
        self.label_2.setText(_translate("TransplantDialog", "&Branch:"))
        self.branchesCombo.setToolTip(_translate("TransplantDialog", "Select or enter the branch to transplant from"))
        self.allCheckBox.setToolTip(_translate("TransplantDialog", "Select to transplant all changesets of the branch"))
        self.allCheckBox.setText(_translate("TransplantDialog", "Transplant &All Changesets"))
        self.label_3.setText(_translate("TransplantDialog", "&Skip:"))
        self.pruneEdit.setToolTip(_translate("TransplantDialog", "Enter changesets by number, id, range or revset expression one per line"))
        self.label_4.setText(_translate("TransplantDialog", "&Merge:"))
        self.mergeEdit.setToolTip(_translate("TransplantDialog", "Enter revisions to be merged separated by a space character"))
        self.logCheckBox.setToolTip(_translate("TransplantDialog", "Select to append transplant info to the log message"))
        self.logCheckBox.setText(_translate("TransplantDialog", "Append Transplant &Info"))

