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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsSubversion/SvnOptionsDialog.ui'
#
# Created: Sat Feb  3 15:34:07 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_SvnOptionsDialog(object):
    def setupUi(self, SvnOptionsDialog):
        SvnOptionsDialog.setObjectName("SvnOptionsDialog")
        SvnOptionsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,565,167).size()).expandedTo(SvnOptionsDialog.minimumSizeHint()))
        SvnOptionsDialog.setSizeGripEnabled(True)

        self.vboxlayout = QtGui.QVBoxLayout(SvnOptionsDialog)
        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.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.vcsDirButton = QtGui.QPushButton(SvnOptionsDialog)
        self.vcsDirButton.setObjectName("vcsDirButton")
        self.gridlayout.addWidget(self.vcsDirButton,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.vcsDirectoryEdit = QtGui.QLineEdit(SvnOptionsDialog)
        self.vcsDirectoryEdit.setObjectName("vcsDirectoryEdit")
        self.gridlayout.addWidget(self.vcsDirectoryEdit,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.vcsDirectoryEdit)
        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.vcsDirectoryEdit)
        SvnOptionsDialog.setTabOrder(self.vcsDirectoryEdit,self.vcsDirButton)
        SvnOptionsDialog.setTabOrder(self.vcsDirButton,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.vcsDirButton.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Show directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.setWhatsThis(QtGui.QApplication.translate("SvnOptionsDialog", "<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("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.vcsDirectoryEdit.setToolTip(QtGui.QApplication.translate("SvnOptionsDialog", "Enter the name of the VCS directory.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirectoryEdit.setWhatsThis(QtGui.QApplication.translate("SvnOptionsDialog", "<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))



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_())
