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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Project/PropertiesDialog.ui'
#
# Created: Sat Feb  3 15:34:03 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_PropertiesDialog(object):
    def setupUi(self, PropertiesDialog):
        PropertiesDialog.setObjectName("PropertiesDialog")
        PropertiesDialog.resize(QtCore.QSize(QtCore.QRect(0,0,600,529).size()).expandedTo(PropertiesDialog.minimumSizeHint()))
        PropertiesDialog.setMaximumSize(QtCore.QSize(16777215,16777215))
        PropertiesDialog.setSizeGripEnabled(True)

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

        self.authorLabel = QtGui.QLabel(PropertiesDialog)
        self.authorLabel.setObjectName("authorLabel")
        self.gridlayout.addWidget(self.authorLabel,8,0,1,1)

        self.authorEdit = QtGui.QLineEdit(PropertiesDialog)
        self.authorEdit.setObjectName("authorEdit")
        self.gridlayout.addWidget(self.authorEdit,8,1,1,1)

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

        self.descriptionLabel = QtGui.QLabel(PropertiesDialog)
        self.descriptionLabel.setAlignment(QtCore.Qt.AlignTop)
        self.descriptionLabel.setObjectName("descriptionLabel")
        self.gridlayout.addWidget(self.descriptionLabel,10,0,1,1)

        self.nameLabel = QtGui.QLabel(PropertiesDialog)
        self.nameLabel.setObjectName("nameLabel")
        self.gridlayout.addWidget(self.nameLabel,0,0,1,1)

        self.versionEdit = QtGui.QLineEdit(PropertiesDialog)
        self.versionEdit.setObjectName("versionEdit")
        self.gridlayout.addWidget(self.versionEdit,5,1,1,1)

        self.descriptionEdit = QtGui.QTextEdit(PropertiesDialog)
        self.descriptionEdit.setTabChangesFocus(True)
        self.descriptionEdit.setAcceptRichText(False)
        self.descriptionEdit.setObjectName("descriptionEdit")
        self.gridlayout.addWidget(self.descriptionEdit,10,1,1,1)

        self.dirEdit = QtGui.QLineEdit(PropertiesDialog)
        self.dirEdit.setObjectName("dirEdit")
        self.gridlayout.addWidget(self.dirEdit,4,1,1,1)

        self.emailLabel = QtGui.QLabel(PropertiesDialog)
        self.emailLabel.setObjectName("emailLabel")
        self.gridlayout.addWidget(self.emailLabel,9,0,1,1)

        self.languageComboBox = QtGui.QComboBox(PropertiesDialog)
        self.languageComboBox.setObjectName("languageComboBox")
        self.gridlayout.addWidget(self.languageComboBox,1,1,1,1)

        self.emailEdit = QtGui.QLineEdit(PropertiesDialog)
        self.emailEdit.setObjectName("emailEdit")
        self.gridlayout.addWidget(self.emailEdit,9,1,1,1)

        self.mainscriptButton = QtGui.QPushButton(PropertiesDialog)
        self.mainscriptButton.setObjectName("mainscriptButton")
        self.gridlayout.addWidget(self.mainscriptButton,6,2,1,1)

        self.nameEdit = QtGui.QLineEdit(PropertiesDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.gridlayout.addWidget(self.nameEdit,0,1,1,1)

        self.mainscriptLabel = QtGui.QLabel(PropertiesDialog)
        self.mainscriptLabel.setObjectName("mainscriptLabel")
        self.gridlayout.addWidget(self.mainscriptLabel,6,0,1,1)

        self.dirLabel = QtGui.QLabel(PropertiesDialog)
        self.dirLabel.setObjectName("dirLabel")
        self.gridlayout.addWidget(self.dirLabel,4,0,1,1)

        self.mainscriptEdit = QtGui.QLineEdit(PropertiesDialog)
        self.mainscriptEdit.setObjectName("mainscriptEdit")
        self.gridlayout.addWidget(self.mainscriptEdit,6,1,1,1)

        self.uiTypeComboBox = QtGui.QComboBox(PropertiesDialog)
        self.uiTypeComboBox.setObjectName("uiTypeComboBox")
        self.gridlayout.addWidget(self.uiTypeComboBox,3,1,1,1)

        self.transPropertiesButton = QtGui.QPushButton(PropertiesDialog)
        self.transPropertiesButton.setObjectName("transPropertiesButton")
        self.gridlayout.addWidget(self.transPropertiesButton,7,1,1,1)

        self.versionLabel = QtGui.QLabel(PropertiesDialog)
        self.versionLabel.setObjectName("versionLabel")
        self.gridlayout.addWidget(self.versionLabel,5,0,1,1)

        self.dirButton = QtGui.QPushButton(PropertiesDialog)
        self.dirButton.setObjectName("dirButton")
        self.gridlayout.addWidget(self.dirButton,4,2,1,1)

        self.mixedLanguageCheckBox = QtGui.QCheckBox(PropertiesDialog)
        self.mixedLanguageCheckBox.setObjectName("mixedLanguageCheckBox")
        self.gridlayout.addWidget(self.mixedLanguageCheckBox,2,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.vcsLabel = QtGui.QLabel(PropertiesDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(3),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.vcsLabel.sizePolicy().hasHeightForWidth())
        self.vcsLabel.setSizePolicy(sizePolicy)
        self.vcsLabel.setObjectName("vcsLabel")
        self.hboxlayout.addWidget(self.vcsLabel)

        self.vcsInfoButton = QtGui.QPushButton(PropertiesDialog)
        self.vcsInfoButton.setObjectName("vcsInfoButton")
        self.hboxlayout.addWidget(self.vcsInfoButton)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.buttonBox = QtGui.QDialogButtonBox(PropertiesDialog)
        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_2.setBuddy(self.uiTypeComboBox)
        self.authorLabel.setBuddy(self.authorEdit)
        self.textLabel1.setBuddy(self.languageComboBox)
        self.descriptionLabel.setBuddy(self.descriptionEdit)
        self.nameLabel.setBuddy(self.nameEdit)
        self.emailLabel.setBuddy(self.emailEdit)
        self.mainscriptLabel.setBuddy(self.mainscriptEdit)
        self.dirLabel.setBuddy(self.dirEdit)
        self.versionLabel.setBuddy(self.versionEdit)

        self.retranslateUi(PropertiesDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),PropertiesDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),PropertiesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PropertiesDialog)
        PropertiesDialog.setTabOrder(self.nameEdit,self.languageComboBox)
        PropertiesDialog.setTabOrder(self.languageComboBox,self.mixedLanguageCheckBox)
        PropertiesDialog.setTabOrder(self.mixedLanguageCheckBox,self.uiTypeComboBox)
        PropertiesDialog.setTabOrder(self.uiTypeComboBox,self.dirEdit)
        PropertiesDialog.setTabOrder(self.dirEdit,self.dirButton)
        PropertiesDialog.setTabOrder(self.dirButton,self.versionEdit)
        PropertiesDialog.setTabOrder(self.versionEdit,self.mainscriptEdit)
        PropertiesDialog.setTabOrder(self.mainscriptEdit,self.mainscriptButton)
        PropertiesDialog.setTabOrder(self.mainscriptButton,self.transPropertiesButton)
        PropertiesDialog.setTabOrder(self.transPropertiesButton,self.authorEdit)
        PropertiesDialog.setTabOrder(self.authorEdit,self.emailEdit)
        PropertiesDialog.setTabOrder(self.emailEdit,self.descriptionEdit)
        PropertiesDialog.setTabOrder(self.descriptionEdit,self.vcsInfoButton)

    def retranslateUi(self, PropertiesDialog):
        PropertiesDialog.setWindowTitle(QtGui.QApplication.translate("PropertiesDialog", "Project Properties", None, QtGui.QApplication.UnicodeUTF8))
        PropertiesDialog.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Project Properties Dialog</b>\n"
        "<p>This dialog is used to show and edit the projects properties.</p>\n"
        "<p>If the project is controlled by a version control system, the \"Show Repository Info\" button displays information about the repository.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_2.setText(QtGui.QApplication.translate("PropertiesDialog", "&UI Type", None, QtGui.QApplication.UnicodeUTF8))
        self.authorLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "&Author:", None, QtGui.QApplication.UnicodeUTF8))
        self.authorEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter authors name", None, QtGui.QApplication.UnicodeUTF8))
        self.authorEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Author</b>\n"
        "<p>Enter the name of the author.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("PropertiesDialog", "Progr. &Language:", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "&Description:", None, QtGui.QApplication.UnicodeUTF8))
        self.nameLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "Project &Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.versionEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter the version number", None, QtGui.QApplication.UnicodeUTF8))
        self.versionEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Version No.</b>\n"
        "<p>Enter the version no.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter description", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Description</b>\n"
        "<p>Enter a short description for the project.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter the project directory", None, QtGui.QApplication.UnicodeUTF8))
        self.dirEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Project Directory</b>\n"
        "<p>Enter the project directory. You may select it\n"
        " with a dialog by pressing the button to the right.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.emailLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "&Email:", None, QtGui.QApplication.UnicodeUTF8))
        self.languageComboBox.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Select the project type (programming language)", None, QtGui.QApplication.UnicodeUTF8))
        self.emailEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter authors email", None, QtGui.QApplication.UnicodeUTF8))
        self.emailEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Email</b>\n"
        "<p>Enter the email address of the author</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.mainscriptButton.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Show file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.mainscriptButton.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Main Script</b>\n"
        "<p>Select the projects main script via a file selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.mainscriptButton.setText(QtGui.QApplication.translate("PropertiesDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter the project name", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Project Name</b>\n"
        "<p>Enter the project name</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.mainscriptLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "&Main Script:", None, QtGui.QApplication.UnicodeUTF8))
        self.dirLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "Project &Directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.mainscriptEdit.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Enter the main script", None, QtGui.QApplication.UnicodeUTF8))
        self.mainscriptEdit.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Main Script</b>\n"
        "<p>Enter the main script of the project. You may select it\n"
        " with a dialog by pressing the button to the right.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.uiTypeComboBox.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Select the type of UI of the project", None, QtGui.QApplication.UnicodeUTF8))
        self.transPropertiesButton.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Press to edit the translations properties", None, QtGui.QApplication.UnicodeUTF8))
        self.transPropertiesButton.setText(QtGui.QApplication.translate("PropertiesDialog", "Translations Properties...", None, QtGui.QApplication.UnicodeUTF8))
        self.versionLabel.setText(QtGui.QApplication.translate("PropertiesDialog", "&Version No.:", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Show directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setWhatsThis(QtGui.QApplication.translate("PropertiesDialog", "<b>Project Directory</b>\n"
        "<p>Select a project directory via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setText(QtGui.QApplication.translate("PropertiesDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.mixedLanguageCheckBox.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Select, if the project uses other programming languages as well", None, QtGui.QApplication.UnicodeUTF8))
        self.mixedLanguageCheckBox.setText(QtGui.QApplication.translate("PropertiesDialog", "Mi&xed programming languages", None, QtGui.QApplication.UnicodeUTF8))
        self.mixedLanguageCheckBox.setShortcut(QtGui.QApplication.translate("PropertiesDialog", "Alt+X", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsInfoButton.setToolTip(QtGui.QApplication.translate("PropertiesDialog", "Press to show information about the repository", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsInfoButton.setText(QtGui.QApplication.translate("PropertiesDialog", "Show &Repository Info", None, QtGui.QApplication.UnicodeUTF8))
        self.vcsInfoButton.setShortcut(QtGui.QApplication.translate("PropertiesDialog", "Alt+R", None, QtGui.QApplication.UnicodeUTF8))



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