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

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

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

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

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

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

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

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

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

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

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

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

        self.buttonBox = QtGui.QDialogButtonBox(CvsNewProjectOptionsDialog)
        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.vcsTagLabel.setBuddy(self.vcsTagEdit)
        self.label.setBuddy(self.archiveEdit)
        self.TextLabel4.setBuddy(self.vcsProjectDirEdit)

        self.retranslateUi(CvsNewProjectOptionsDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),CvsNewProjectOptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),CvsNewProjectOptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CvsNewProjectOptionsDialog)
        CvsNewProjectOptionsDialog.setTabOrder(self.vcsDirectoryEdit,self.vcsDirButton)
        CvsNewProjectOptionsDialog.setTabOrder(self.vcsDirButton,self.archiveEdit)
        CvsNewProjectOptionsDialog.setTabOrder(self.archiveEdit,self.vcsTagEdit)
        CvsNewProjectOptionsDialog.setTabOrder(self.vcsTagEdit,self.vcsProjectDirEdit)
        CvsNewProjectOptionsDialog.setTabOrder(self.vcsProjectDirEdit,self.projectDirButton)

    def retranslateUi(self, CvsNewProjectOptionsDialog):
        CvsNewProjectOptionsDialog.setWindowTitle(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "New Project from Repository", None, QtGui.QApplication.UnicodeUTF8))
        CvsNewProjectOptionsDialog.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<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. In order to access a remote repository, the repository path must contain the protocol info, user info and hostname, e.g. :pserver:anonymous@cvsserver:/cvsroot.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "&Repository:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsTagLabel.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "&Tag:", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirectoryEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the name of the VCS directory.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirectoryEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<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.projectDirButton.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Show directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsDirButton.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<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("CvsNewProjectOptionsDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsProjectDirEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the directory of the new project.", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsProjectDirEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<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.vcsTagEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the tag the new project should be generated from", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsTagEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<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.archiveEdit.setToolTip(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Enter the name of the module in CVS.", None, QtGui.QApplication.UnicodeUTF8))
        self.archiveEdit.setWhatsThis(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "<b>Module in CVS</b>\n"
        "<p>Enter the name of the module in the CVS repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "&Module:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel4.setText(QtGui.QApplication.translate("CvsNewProjectOptionsDialog", "Project &Directory:", None, QtGui.QApplication.UnicodeUTF8))



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