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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgCopyDialog.ui'
#
# Created: Tue Jan 27 07:24:59 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_HgCopyDialog(object):
    def setupUi(self, HgCopyDialog):
        HgCopyDialog.setObjectName(_fromUtf8("HgCopyDialog"))
        HgCopyDialog.resize(409, 138)
        HgCopyDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(HgCopyDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.textLabel1 = QtGui.QLabel(HgCopyDialog)
        self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
        self.gridlayout.addWidget(self.textLabel1, 0, 0, 1, 1)
        self.sourceEdit = QtGui.QLineEdit(HgCopyDialog)
        self.sourceEdit.setReadOnly(True)
        self.sourceEdit.setObjectName(_fromUtf8("sourceEdit"))
        self.gridlayout.addWidget(self.sourceEdit, 0, 1, 1, 1)
        self.targetEdit = QtGui.QLineEdit(HgCopyDialog)
        self.targetEdit.setObjectName(_fromUtf8("targetEdit"))
        self.gridlayout.addWidget(self.targetEdit, 1, 1, 1, 1)
        self.textLabel2 = QtGui.QLabel(HgCopyDialog)
        self.textLabel2.setObjectName(_fromUtf8("textLabel2"))
        self.gridlayout.addWidget(self.textLabel2, 1, 0, 1, 1)
        self.dirButton = QtGui.QToolButton(HgCopyDialog)
        self.dirButton.setObjectName(_fromUtf8("dirButton"))
        self.gridlayout.addWidget(self.dirButton, 1, 2, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.forceCheckBox = QtGui.QCheckBox(HgCopyDialog)
        self.forceCheckBox.setObjectName(_fromUtf8("forceCheckBox"))
        self.vboxlayout.addWidget(self.forceCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgCopyDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(HgCopyDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgCopyDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgCopyDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgCopyDialog)
        HgCopyDialog.setTabOrder(self.targetEdit, self.dirButton)
        HgCopyDialog.setTabOrder(self.dirButton, self.forceCheckBox)
        HgCopyDialog.setTabOrder(self.forceCheckBox, self.buttonBox)
        HgCopyDialog.setTabOrder(self.buttonBox, self.sourceEdit)

    def retranslateUi(self, HgCopyDialog):
        HgCopyDialog.setWindowTitle(_translate("HgCopyDialog", "Mercurial Copy", None))
        self.textLabel1.setText(_translate("HgCopyDialog", "Source:", None))
        self.sourceEdit.setToolTip(_translate("HgCopyDialog", "Shows the name of the source", None))
        self.sourceEdit.setWhatsThis(_translate("HgCopyDialog", "<b>Source name</b>\n"
"<p>This field shows the name of the source.</p>", None))
        self.targetEdit.setToolTip(_translate("HgCopyDialog", "Enter the target name", None))
        self.targetEdit.setWhatsThis(_translate("HgCopyDialog", "<b>Target name</b>\n"
"<p>Enter the new name in this field. The target must be the new name or an absolute path.</p>", None))
        self.textLabel2.setText(_translate("HgCopyDialog", "Target:", None))
        self.dirButton.setToolTip(_translate("HgCopyDialog", "Press to open a selection dialog", None))
        self.dirButton.setWhatsThis(_translate("HgCopyDialog", "<b>Target directory</b>\n"
"<p>Select the target name for the operation via a selection dialog.</p>", None))
        self.forceCheckBox.setToolTip(_translate("HgCopyDialog", "Select to force the operation", None))
        self.forceCheckBox.setText(_translate("HgCopyDialog", "Enforce operation", None))

