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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.ui'
#
# Created: Sun Nov 25 12:34:35 2007
#      by: PyQt4 UI code generator 4.3-snapshot-20071004
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SvnNewProjectOptionsDialog(object):
    def setupUi(self, SvnNewProjectOptionsDialog):
        SvnNewProjectOptionsDialog.setObjectName("SvnNewProjectOptionsDialog")
        SvnNewProjectOptionsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,562,183).size()).expandedTo(SvnNewProjectOptionsDialog.minimumSizeHint()))
        SvnNewProjectOptionsDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(SvnNewProjectOptionsDialog)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.vcsTagEdit = QtGui.QLineEdit(SvnNewProjectOptionsDialog)
        self.vcsTagEdit.setObjectName("vcsTagEdit")
        self.gridlayout.addWidget(self.vcsTagEdit,2,1,1,1)

        self.projectDirButton = QtGui.QPushButton(SvnNewProjectOptionsDialog)
        self.projectDirButton.setObjectName("projectDirButton")
        self.gridlayout.addWidget(self.projectDirButton,3,2,1,1)

        self.protocolCombo = QtGui.QComboBox(SvnNewProjectOptionsDialog)
        self.protocolCombo.setObjectName("protocolCombo")
        self.gridlayout.addWidget(self.protocolCombo,0,1,1,1)

        self.textLabel1 = QtGui.QLabel(SvnNewProjectOptionsDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,0,0,1,1)

        self.vcsUrlEdit = QtGui.QLineEdit(SvnNewProjectOptionsDialog)
        self.vcsUrlEdit.setObjectName("vcsUrlEdit")
        self.gridlayout.addWidget(self.vcsUrlEdit,1,1,1,1)

        self.TextLabel2 = QtGui.QLabel(SvnNewProjectOptionsDialog)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridlayout.addWidget(self.TextLabel2,1,0,1,1)

        self.vcsProjectDirEdit = QtGui.QLineEdit(SvnNewProjectOptionsDialog)
        self.vcsProjectDirEdit.setObjectName("vcsProjectDirEdit")
        self.gridlayout.addWidget(self.vcsProjectDirEdit,3,1,1,1)

        self.layoutCheckBox = QtGui.QCheckBox(SvnNewProjectOptionsDialog)
        self.layoutCheckBox.setChecked(True)
        self.layoutCheckBox.setObjectName("layoutCheckBox")
        self.gridlayout.addWidget(self.layoutCheckBox,4,0,1,2)

        self.vcsUrlButton = QtGui.QPushButton(SvnNewProjectOptionsDialog)
        self.vcsUrlButton.setObjectName("vcsUrlButton")
        self.gridlayout.addWidget(self.vcsUrlButton,1,2,1,1)

        self.TextLabel4 = QtGui.QLabel(SvnNewProjectOptionsDialog)
        self.TextLabel4.setObjectName("TextLabel4")
        self.gridlayout.addWidget(self.TextLabel4,3,0,1,1)

        self.vcsTagLabel = QtGui.QLabel(SvnNewProjectOptionsDialog)
        self.vcsTagLabel.setObjectName("vcsTagLabel")
        self.gridlayout.addWidget(self.vcsTagLabel,2,0,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(SvnNewProjectOptionsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)
        self.textLabel1.setBuddy(self.protocolCombo)
        self.TextLabel2.setBuddy(self.vcsUrlEdit)
        self.TextLabel4.setBuddy(self.vcsProjectDirEdit)
        self.vcsTagLabel.setBuddy(self.vcsTagEdit)

        self.retranslateUi(SvnNewProjectOptionsDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnNewProjectOptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnNewProjectOptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SvnNewProjectOptionsDialog)
        SvnNewProjectOptionsDialog.setTabOrder(self.protocolCombo,self.vcsUrlEdit)
        SvnNewProjectOptionsDialog.setTabOrder(self.vcsUrlEdit,self.vcsUrlButton)
        SvnNewProjectOptionsDialog.setTabOrder(self.vcsUrlButton,self.vcsTagEdit)
        SvnNewProjectOptionsDialog.setTabOrder(self.vcsTagEdit,self.vcsProjectDirEdit)
        SvnNewProjectOptionsDialog.setTabOrder(self.vcsProjectDirEdit,self.projectDirButton)
        SvnNewProjectOptionsDialog.setTabOrder(self.projectDirButton,self.layoutCheckBox)

    def retranslateUi(self, SvnNewProjectOptionsDialog):
        SvnNewProjectOptionsDialog.setWindowTitle(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "New Project from Repository", None, QtGui.QApplication.UnicodeUTF8))
        SvnNewProjectOptionsDialog.setWhatsThis(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "<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, QtGui.QApplication.UnicodeUTF8))
        self.vcsTagEdit.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Enter the tag the new project should be generated from", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsTagEdit.setWhatsThis(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "<b>Tag in VCS</b>\n"
        "<p>Enter the tag name the new project shall be generated from. Leave empty to retrieve the latest data from the repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.projectDirButton.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Select the project directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.projectDirButton.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.protocolCombo.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Select the protocol to access the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "&Protocol:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlEdit.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Enter the url path of the module in the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlEdit.setWhatsThis(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "<b>URL</b><p>Enter the URL to the module. For a repository with standard layout, this must not contain the trunk, tags or branches part.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "&URL:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsProjectDirEdit.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Enter the directory of the new project.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsProjectDirEdit.setWhatsThis(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "<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, QtGui.QApplication.UnicodeUTF8))
        self.layoutCheckBox.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Select to indicate, that the repository has a standard layout (projectdir/trunk, projectdir/tags, projectdir/branches)", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutCheckBox.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Repository has standard &layout", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutCheckBox.setShortcut(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Alt+L", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlButton.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Select the repository url via a directory selection dialog or the repository browser", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlButton.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel4.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Project &Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsTagLabel.setText(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "&Tag:", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SvnNewProjectOptionsDialog = QtGui.QDialog()
    ui = Ui_SvnNewProjectOptionsDialog()
    ui.setupUi(SvnNewProjectOptionsDialog)
    SvnNewProjectOptionsDialog.show()
    sys.exit(app.exec_())
