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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.ui'
#
# Created: Sun Jan 18 22:19:52 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_HgNewProjectOptionsDialog(object):
    def setupUi(self, HgNewProjectOptionsDialog):
        HgNewProjectOptionsDialog.setObjectName(_fromUtf8("HgNewProjectOptionsDialog"))
        HgNewProjectOptionsDialog.resize(562, 221)
        HgNewProjectOptionsDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(HgNewProjectOptionsDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.textLabel1 = QtGui.QLabel(HgNewProjectOptionsDialog)
        self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
        self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1)
        self.protocolCombo = QtGui.QComboBox(HgNewProjectOptionsDialog)
        self.protocolCombo.setObjectName(_fromUtf8("protocolCombo"))
        self.gridLayout.addWidget(self.protocolCombo, 0, 1, 1, 2)
        self.TextLabel2 = QtGui.QLabel(HgNewProjectOptionsDialog)
        self.TextLabel2.setObjectName(_fromUtf8("TextLabel2"))
        self.gridLayout.addWidget(self.TextLabel2, 1, 0, 1, 1)
        self.vcsUrlEdit = QtGui.QLineEdit(HgNewProjectOptionsDialog)
        self.vcsUrlEdit.setObjectName(_fromUtf8("vcsUrlEdit"))
        self.gridLayout.addWidget(self.vcsUrlEdit, 1, 1, 1, 1)
        self.vcsUrlButton = QtGui.QToolButton(HgNewProjectOptionsDialog)
        self.vcsUrlButton.setObjectName(_fromUtf8("vcsUrlButton"))
        self.gridLayout.addWidget(self.vcsUrlButton, 1, 2, 1, 1)
        self.vcsRevisionLabel = QtGui.QLabel(HgNewProjectOptionsDialog)
        self.vcsRevisionLabel.setObjectName(_fromUtf8("vcsRevisionLabel"))
        self.gridLayout.addWidget(self.vcsRevisionLabel, 2, 0, 1, 1)
        self.vcsRevisionEdit = QtGui.QLineEdit(HgNewProjectOptionsDialog)
        self.vcsRevisionEdit.setWhatsThis(_fromUtf8(""))
        self.vcsRevisionEdit.setObjectName(_fromUtf8("vcsRevisionEdit"))
        self.gridLayout.addWidget(self.vcsRevisionEdit, 2, 1, 1, 2)
        self.TextLabel4 = QtGui.QLabel(HgNewProjectOptionsDialog)
        self.TextLabel4.setObjectName(_fromUtf8("TextLabel4"))
        self.gridLayout.addWidget(self.TextLabel4, 3, 0, 1, 1)
        self.vcsProjectDirEdit = QtGui.QLineEdit(HgNewProjectOptionsDialog)
        self.vcsProjectDirEdit.setObjectName(_fromUtf8("vcsProjectDirEdit"))
        self.gridLayout.addWidget(self.vcsProjectDirEdit, 3, 1, 1, 1)
        self.projectDirButton = QtGui.QToolButton(HgNewProjectOptionsDialog)
        self.projectDirButton.setObjectName(_fromUtf8("projectDirButton"))
        self.gridLayout.addWidget(self.projectDirButton, 3, 2, 1, 1)
        self.largeCheckBox = QtGui.QCheckBox(HgNewProjectOptionsDialog)
        self.largeCheckBox.setObjectName(_fromUtf8("largeCheckBox"))
        self.gridLayout.addWidget(self.largeCheckBox, 4, 0, 1, 3)
        self.lfNoteLabel = QtGui.QLabel(HgNewProjectOptionsDialog)
        self.lfNoteLabel.setWordWrap(True)
        self.lfNoteLabel.setObjectName(_fromUtf8("lfNoteLabel"))
        self.gridLayout.addWidget(self.lfNoteLabel, 5, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(HgNewProjectOptionsDialog)
        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, 6, 0, 1, 3)
        self.textLabel1.setBuddy(self.protocolCombo)
        self.TextLabel2.setBuddy(self.vcsUrlEdit)
        self.vcsRevisionLabel.setBuddy(self.vcsRevisionEdit)
        self.TextLabel4.setBuddy(self.vcsProjectDirEdit)

        self.retranslateUi(HgNewProjectOptionsDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), HgNewProjectOptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), HgNewProjectOptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(HgNewProjectOptionsDialog)
        HgNewProjectOptionsDialog.setTabOrder(self.protocolCombo, self.vcsUrlEdit)
        HgNewProjectOptionsDialog.setTabOrder(self.vcsUrlEdit, self.vcsUrlButton)
        HgNewProjectOptionsDialog.setTabOrder(self.vcsUrlButton, self.vcsRevisionEdit)
        HgNewProjectOptionsDialog.setTabOrder(self.vcsRevisionEdit, self.vcsProjectDirEdit)
        HgNewProjectOptionsDialog.setTabOrder(self.vcsProjectDirEdit, self.projectDirButton)
        HgNewProjectOptionsDialog.setTabOrder(self.projectDirButton, self.largeCheckBox)
        HgNewProjectOptionsDialog.setTabOrder(self.largeCheckBox, self.buttonBox)

    def retranslateUi(self, HgNewProjectOptionsDialog):
        HgNewProjectOptionsDialog.setWindowTitle(_translate("HgNewProjectOptionsDialog", "New Project from Repository", None))
        HgNewProjectOptionsDialog.setWhatsThis(_translate("HgNewProjectOptionsDialog", "<b>New Project from Repository Dialog</b>\n"
"<p>Enter the various repository infos into the entry fields. These values are used, when the new project is retrieved from the repository. If the checkbox is selected, the URL must end in the project name. A repository layout with project/tags, project/branches and project/trunk will be assumed. In this case, you may enter a tag or branch, which must look like tags/tagname or branches/branchname. If the checkbox is not selected, the URL must contain the complete path in the repository.</p>\n"
"<p>For remote repositories the URL must contain the hostname.</p>", None))
        self.textLabel1.setText(_translate("HgNewProjectOptionsDialog", "&Protocol:", None))
        self.protocolCombo.setToolTip(_translate("HgNewProjectOptionsDialog", "Select the protocol to access the repository", None))
        self.TextLabel2.setText(_translate("HgNewProjectOptionsDialog", "&URL:", None))
        self.vcsUrlEdit.setToolTip(_translate("HgNewProjectOptionsDialog", "Enter the url path of the repository (without protocol part)", None))
        self.vcsUrlButton.setToolTip(_translate("HgNewProjectOptionsDialog", "Select the repository url via a directory selection dialog", None))
        self.vcsRevisionLabel.setText(_translate("HgNewProjectOptionsDialog", "&Revision:", None))
        self.vcsRevisionEdit.setToolTip(_translate("HgNewProjectOptionsDialog", "Enter the revision the new project should be generated from", None))
        self.TextLabel4.setText(_translate("HgNewProjectOptionsDialog", "Project &Directory:", None))
        self.vcsProjectDirEdit.setToolTip(_translate("HgNewProjectOptionsDialog", "Enter the directory of the new project.", None))
        self.vcsProjectDirEdit.setWhatsThis(_translate("HgNewProjectOptionsDialog", "<b>Project Directory</b>\n"
"<p>Enter the directory of the new project. It will be retrieved from \n"
"the repository and be placed in this directory.</p>", None))
        self.largeCheckBox.setText(_translate("HgNewProjectOptionsDialog", "Download all versions of all large files", None))
        self.lfNoteLabel.setText(_translate("HgNewProjectOptionsDialog", "<b>Note:</b> This option increases the download time and volume.", None))

