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

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

        self.vboxlayout = QtGui.QVBoxLayout(CvsOptionsDialog)
        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.vcsLogEdit = QtGui.QLineEdit(CvsOptionsDialog)
        self.vcsLogEdit.setObjectName("vcsLogEdit")
        self.gridlayout.addWidget(self.vcsLogEdit,3,1,1,1)

        self.vcsReleaseEdit = QtGui.QLineEdit(CvsOptionsDialog)
        self.vcsReleaseEdit.setObjectName("vcsReleaseEdit")
        self.gridlayout.addWidget(self.vcsReleaseEdit,4,1,1,1)

        self.vcsVendorEdit = QtGui.QLineEdit(CvsOptionsDialog)
        self.vcsVendorEdit.setObjectName("vcsVendorEdit")
        self.gridlayout.addWidget(self.vcsVendorEdit,2,1,1,1)

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

        self.vcsDirectoryEdit = QtGui.QLineEdit(CvsOptionsDialog)
        self.vcsDirectoryEdit.setObjectName("vcsDirectoryEdit")
        self.gridlayout.addWidget(self.vcsDirectoryEdit,0,1,1,1)

        self.label_3 = QtGui.QLabel(CvsOptionsDialog)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,4,0,1,1)

        self.archiveEdit = QtGui.QLineEdit(CvsOptionsDialog)
        self.archiveEdit.setObjectName("archiveEdit")
        self.gridlayout.addWidget(self.archiveEdit,1,1,1,1)

        self.label_2 = QtGui.QLabel(CvsOptionsDialog)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,2,0,1,1)

        self.TextLabel5 = QtGui.QLabel(CvsOptionsDialog)
        self.TextLabel5.setObjectName("TextLabel5")
        self.gridlayout.addWidget(self.TextLabel5,3,0,1,1)

        self.label = QtGui.QLabel(CvsOptionsDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,1,0,1,1)

        self.vcsDirButton = QtGui.QPushButton(CvsOptionsDialog)
        self.vcsDirButton.setObjectName("vcsDirButton")
        self.gridlayout.addWidget(self.vcsDirButton,0,2,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(CvsOptionsDialog)
        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.TextLabel2.setBuddy(self.vcsDirectoryEdit)
        self.label_3.setBuddy(self.vcsReleaseEdit)
        self.label_2.setBuddy(self.vcsVendorEdit)
        self.TextLabel5.setBuddy(self.vcsLogEdit)
        self.label.setBuddy(self.archiveEdit)

        self.retranslateUi(CvsOptionsDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),CvsOptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),CvsOptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CvsOptionsDialog)
        CvsOptionsDialog.setTabOrder(self.vcsDirectoryEdit,self.vcsDirButton)
        CvsOptionsDialog.setTabOrder(self.vcsDirButton,self.archiveEdit)
        CvsOptionsDialog.setTabOrder(self.archiveEdit,self.vcsVendorEdit)
        CvsOptionsDialog.setTabOrder(self.vcsVendorEdit,self.vcsLogEdit)
        CvsOptionsDialog.setTabOrder(self.vcsLogEdit,self.vcsReleaseEdit)

    def retranslateUi(self, CvsOptionsDialog):
        CvsOptionsDialog.setWindowTitle(QtGui.QApplication.translate("CvsOptionsDialog", "Repository Infos", None, QtGui.QApplication.UnicodeUTF8))
        CvsOptionsDialog.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<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.vcsLogEdit.setToolTip(QtGui.QApplication.translate("CvsOptionsDialog", "Enter the log message for the new project.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsLogEdit.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<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("CvsOptionsDialog", "new project started", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsReleaseEdit.setToolTip(QtGui.QApplication.translate("CvsOptionsDialog", "Enter the release label.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsReleaseEdit.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<b>Release Label</b>\n"
        "<p>Enter the release label for the new project.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsReleaseEdit.setText(QtGui.QApplication.translate("CvsOptionsDialog", "start", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsVendorEdit.setToolTip(QtGui.QApplication.translate("CvsOptionsDialog", "Enter the vendor label.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsVendorEdit.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<b>Vendor Label</b>\n"
        "<p>Enter the vendor label to be used for the archive.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("CvsOptionsDialog", "&Repository:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirectoryEdit.setToolTip(QtGui.QApplication.translate("CvsOptionsDialog", "Enter the name of the VCS directory.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirectoryEdit.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<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.label_3.setText(QtGui.QApplication.translate("CvsOptionsDialog", "Release &Label:", None, QtGui.QApplication.UnicodeUTF8))
        self.archiveEdit.setToolTip(QtGui.QApplication.translate("CvsOptionsDialog", "Enter the name of the module in CVS.", None, QtGui.QApplication.UnicodeUTF8))
        self.archiveEdit.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<b>Module in CVS</b>\n"
        "<p>Enter the name of the module in the CVS repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("CvsOptionsDialog", "&Vendor Label:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel5.setText(QtGui.QApplication.translate("CvsOptionsDialog", "Log &Message:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("CvsOptionsDialog", "&Module:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.setToolTip(QtGui.QApplication.translate("CvsOptionsDialog", "Show directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.setWhatsThis(QtGui.QApplication.translate("CvsOptionsDialog", "<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("CvsOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))



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