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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsSubversion/SvnNewProjectOptionsDialog.ui'
#
# Created: Sat Feb  3 15:34:05 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# 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,201).size()).expandedTo(SvnNewProjectOptionsDialog.minimumSizeHint()))
        SvnNewProjectOptionsDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(SvnNewProjectOptionsDialog)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(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.vcsDirectoryEdit = QtGui.QLineEdit(SvnNewProjectOptionsDialog)
        self.vcsDirectoryEdit.setObjectName("vcsDirectoryEdit")
        self.gridlayout.addWidget(self.vcsDirectoryEdit,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.vcsDirButton = QtGui.QPushButton(SvnNewProjectOptionsDialog)
        self.vcsDirButton.setObjectName("vcsDirButton")
        self.gridlayout.addWidget(self.vcsDirButton,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.vcsDirectoryEdit)
        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.vcsDirectoryEdit)
        SvnNewProjectOptionsDialog.setTabOrder(self.vcsDirectoryEdit,self.vcsDirButton)
        SvnNewProjectOptionsDialog.setTabOrder(self.vcsDirButton,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.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.vcsDirectoryEdit.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Enter the name of the VCS directory.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirectoryEdit.setWhatsThis(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "<b>VCS-Directory</b>\n"
        "<p>Enter the name of the directory, that is the root of the VCS repository to be used. You may select it by pressing the button to the right.</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.vcsDirButton.setToolTip(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "Show directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.setWhatsThis(QtGui.QApplication.translate("SvnNewProjectOptionsDialog", "<b>VCS-Directory</b>\n"
        "<p>Select VCS root directory via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.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_())
