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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/Plugins/VcsPlugins/vcsPySvn/SvnOptionsDialog.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_SvnOptionsDialog(object):
    def setupUi(self, SvnOptionsDialog):
        SvnOptionsDialog.setObjectName("SvnOptionsDialog")
        SvnOptionsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,565,152).size()).expandedTo(SvnOptionsDialog.minimumSizeHint()))
        SvnOptionsDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(SvnOptionsDialog)
        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.TextLabel5 = QtGui.QLabel(SvnOptionsDialog)
        self.TextLabel5.setObjectName("TextLabel5")
        self.gridlayout.addWidget(self.TextLabel5,2,0,1,1)

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

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

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

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

        self.vcsLogEdit = QtGui.QLineEdit(SvnOptionsDialog)
        self.vcsLogEdit.setObjectName("vcsLogEdit")
        self.gridlayout.addWidget(self.vcsLogEdit,2,1,1,1)

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

        self.vcsUrlEdit = QtGui.QLineEdit(SvnOptionsDialog)
        self.vcsUrlEdit.setObjectName("vcsUrlEdit")
        self.gridlayout.addWidget(self.vcsUrlEdit,1,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(SvnOptionsDialog)
        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.TextLabel5.setBuddy(self.vcsLogEdit)
        self.TextLabel2.setBuddy(self.vcsUrlEdit)
        self.textLabel1.setBuddy(self.protocolCombo)

        self.retranslateUi(SvnOptionsDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnOptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnOptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SvnOptionsDialog)
        SvnOptionsDialog.setTabOrder(self.protocolCombo,self.vcsUrlEdit)
        SvnOptionsDialog.setTabOrder(self.vcsUrlEdit,self.vcsUrlButton)
        SvnOptionsDialog.setTabOrder(self.vcsUrlButton,self.vcsLogEdit)
        SvnOptionsDialog.setTabOrder(self.vcsLogEdit,self.layoutCheckBox)

    def retranslateUi(self, SvnOptionsDialog):
        SvnOptionsDialog.setWindowTitle(QtGui.QApplication.translate("SvnOptionsDialog", "Repository Infos", None, QtGui.QApplication.UnicodeUTF8))
        SvnOptionsDialog.setWhatsThis(QtGui.QApplication.translate("SvnOptionsDialog", "<b>Repository Infos Dialog</b>\n"
        "<p>Enter the various infos into the entry fields. These values are used to generate a new project in the repository. If the checkbox is selected, the URL must end in the project name. A directory tree with project/tags, project/branches and project/trunk will be generated in the repository. 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.TextLabel5.setText(QtGui.QApplication.translate("SvnOptionsDialog", "Log &Message:", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutCheckBox.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Select, if the standard repository layout (projectdir/trunk, projectdir/tags, projectdir/branches) should be generated", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutCheckBox.setText(QtGui.QApplication.translate("SvnOptionsDialog", "Create standard repository &layout", None, QtGui.QApplication.UnicodeUTF8))
        self.layoutCheckBox.setShortcut(QtGui.QApplication.translate("SvnOptionsDialog", "Alt+L", None, QtGui.QApplication.UnicodeUTF8))
        self.protocolCombo.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Select the protocol to access the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlButton.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Select the repository url via a directory selection dialog or the repository browser", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlButton.setText(QtGui.QApplication.translate("SvnOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("SvnOptionsDialog", "&URL:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsLogEdit.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Enter the log message for the new project.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsLogEdit.setWhatsThis(QtGui.QApplication.translate("SvnOptionsDialog", "<b>Log Message</b>\n"
        "<p>Enter the log message to be used for the new project.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsLogEdit.setText(QtGui.QApplication.translate("SvnOptionsDialog", "new project started", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("SvnOptionsDialog", "&Protocol:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlEdit.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Enter the url path of the module in the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsUrlEdit.setWhatsThis(QtGui.QApplication.translate("SvnOptionsDialog", "<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))



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