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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.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_HgExportDialog(object):
    def setupUi(self, HgExportDialog):
        HgExportDialog.setObjectName(_fromUtf8("HgExportDialog"))
        HgExportDialog.resize(456, 301)
        HgExportDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(HgExportDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(HgExportDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.directoryEdit = QtGui.QLineEdit(HgExportDialog)
        self.directoryEdit.setObjectName(_fromUtf8("directoryEdit"))
        self.gridLayout.addWidget(self.directoryEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(HgExportDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.patternEdit = QtGui.QLineEdit(HgExportDialog)
        self.patternEdit.setObjectName(_fromUtf8("patternEdit"))
        self.gridLayout.addWidget(self.patternEdit, 1, 1, 1, 2)
        self.label_3 = QtGui.QLabel(HgExportDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.changesetsEdit = QtGui.QPlainTextEdit(HgExportDialog)
        self.changesetsEdit.setTabChangesFocus(True)
        self.changesetsEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.changesetsEdit.setObjectName(_fromUtf8("changesetsEdit"))
        self.gridLayout.addWidget(self.changesetsEdit, 2, 1, 1, 2)
        self.directoryButton = QtGui.QToolButton(HgExportDialog)
        self.directoryButton.setObjectName(_fromUtf8("directoryButton"))
        self.gridLayout.addWidget(self.directoryButton, 0, 2, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.switchParentCheckBox = QtGui.QCheckBox(HgExportDialog)
        self.switchParentCheckBox.setToolTip(_fromUtf8(""))
        self.switchParentCheckBox.setObjectName(_fromUtf8("switchParentCheckBox"))
        self.verticalLayout.addWidget(self.switchParentCheckBox)
        self.textCheckBox = QtGui.QCheckBox(HgExportDialog)
        self.textCheckBox.setToolTip(_fromUtf8(""))
        self.textCheckBox.setObjectName(_fromUtf8("textCheckBox"))
        self.verticalLayout.addWidget(self.textCheckBox)
        self.datesCheckBox = QtGui.QCheckBox(HgExportDialog)
        self.datesCheckBox.setObjectName(_fromUtf8("datesCheckBox"))
        self.verticalLayout.addWidget(self.datesCheckBox)
        self.gitCheckBox = QtGui.QCheckBox(HgExportDialog)
        self.gitCheckBox.setObjectName(_fromUtf8("gitCheckBox"))
        self.verticalLayout.addWidget(self.gitCheckBox)
        self.buttonBox = QtGui.QDialogButtonBox(HgExportDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(HgExportDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgExportDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgExportDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgExportDialog)
        HgExportDialog.setTabOrder(self.directoryEdit, self.directoryButton)
        HgExportDialog.setTabOrder(self.directoryButton, self.patternEdit)
        HgExportDialog.setTabOrder(self.patternEdit, self.changesetsEdit)
        HgExportDialog.setTabOrder(self.changesetsEdit, self.switchParentCheckBox)
        HgExportDialog.setTabOrder(self.switchParentCheckBox, self.textCheckBox)
        HgExportDialog.setTabOrder(self.textCheckBox, self.datesCheckBox)
        HgExportDialog.setTabOrder(self.datesCheckBox, self.gitCheckBox)
        HgExportDialog.setTabOrder(self.gitCheckBox, self.buttonBox)

    def retranslateUi(self, HgExportDialog):
        HgExportDialog.setWindowTitle(_translate("HgExportDialog", "Export Patches", None))
        self.label.setText(_translate("HgExportDialog", "Export Directory:", None))
        self.label_2.setText(_translate("HgExportDialog", "File Name Pattern:", None))
        self.patternEdit.setToolTip(_translate("HgExportDialog", "Enter the file name pattern for the export files", None))
        self.patternEdit.setWhatsThis(_translate("HgExportDialog", "<b>File Name Pattern</b>\n"
"<p>Enter the file name pattern to be used to generate the export files\n"
"here. Valid recognized patterns are:</p>\n"
"<table>\n"
"<tr><td>%%</td><td>literal \"%\" character</td></tr>\n"
"<tr><td>%H</td><td>changeset hash (40 hexadecimal digits)</td></tr>\n"
"<tr><td>%N</td><td>number of patches being generated</td></tr>\n"
"<tr><td>%R</td><td>changeset revision number</td></tr>\n"
"<tr><td>%b</td><td>basename of the exporting repository</td></tr>\n"
"<tr><td>%h</td><td>short-form changeset hash (12 hexadecimal digits)</td></tr>\n"
"<tr><td>%n</td><td>zero-padded sequence number, starting at 1</td></tr>\n"
"<tr><td>%r</td><td>zero-padded changeset revision number</td></tr>\n"
"</table>    \n"
"", None))
        self.label_3.setText(_translate("HgExportDialog", "Changesets:", None))
        self.changesetsEdit.setToolTip(_translate("HgExportDialog", "Enter changesets by number, id, range or revset expression one per line", None))
        self.directoryButton.setToolTip(_translate("HgExportDialog", "Press to select the export directory via a directory selection dialog", None))
        self.switchParentCheckBox.setText(_translate("HgExportDialog", "Compare Against Second Parent", None))
        self.textCheckBox.setText(_translate("HgExportDialog", "Treat all Files as Text", None))
        self.datesCheckBox.setText(_translate("HgExportDialog", "Omit Dates", None))
        self.gitCheckBox.setText(_translate("HgExportDialog", "Use Git extended Diff-Format", None))

