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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/MultiProject/AddProjectDialog.ui'
#
# Created: Sun Feb 17 15:09:33 2008
#      by: PyQt4 UI code generator 4.3-snapshot-20071225
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_AddProjectDialog(object):
    def setupUi(self, AddProjectDialog):
        AddProjectDialog.setObjectName("AddProjectDialog")
        AddProjectDialog.resize(QtCore.QSize(QtCore.QRect(0,0,569,378).size()).expandedTo(AddProjectDialog.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(AddProjectDialog)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")

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

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

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

        self.filenameEdit = QtGui.QLineEdit(AddProjectDialog)
        self.filenameEdit.setObjectName("filenameEdit")
        self.gridlayout.addWidget(self.filenameEdit,1,1,1,1)

        self.fileButton = QtGui.QPushButton(AddProjectDialog)
        self.fileButton.setObjectName("fileButton")
        self.gridlayout.addWidget(self.fileButton,1,2,1,1)

        self.label_3 = QtGui.QLabel(AddProjectDialog)
        self.label_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,2,0,1,1)

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

        self.masterCheckBox = QtGui.QCheckBox(AddProjectDialog)
        self.masterCheckBox.setObjectName("masterCheckBox")
        self.gridlayout.addWidget(self.masterCheckBox,3,0,1,3)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(AddProjectDialog)
        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.label.setBuddy(self.nameEdit)
        self.label_2.setBuddy(self.filenameEdit)
        self.label_3.setBuddy(self.descriptionEdit)

        self.retranslateUi(AddProjectDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),AddProjectDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),AddProjectDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(AddProjectDialog)
        AddProjectDialog.setTabOrder(self.nameEdit,self.filenameEdit)
        AddProjectDialog.setTabOrder(self.filenameEdit,self.fileButton)
        AddProjectDialog.setTabOrder(self.fileButton,self.descriptionEdit)
        AddProjectDialog.setTabOrder(self.descriptionEdit,self.masterCheckBox)
        AddProjectDialog.setTabOrder(self.masterCheckBox,self.buttonBox)

    def retranslateUi(self, AddProjectDialog):
        AddProjectDialog.setWindowTitle(QtGui.QApplication.translate("AddProjectDialog", "Add Project", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("AddProjectDialog", "&Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setToolTip(QtGui.QApplication.translate("AddProjectDialog", "Enter the name of the project", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("AddProjectDialog", "Project&file:", None, QtGui.QApplication.UnicodeUTF8))
        self.filenameEdit.setToolTip(QtGui.QApplication.translate("AddProjectDialog", "Enter the name of the project file", None, QtGui.QApplication.UnicodeUTF8))
        self.fileButton.setToolTip(QtGui.QApplication.translate("AddProjectDialog", "Select the project file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.fileButton.setText(QtGui.QApplication.translate("AddProjectDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("AddProjectDialog", "&Description:", None, QtGui.QApplication.UnicodeUTF8))
        self.descriptionEdit.setToolTip(QtGui.QApplication.translate("AddProjectDialog", "Enter a short description for the project", None, QtGui.QApplication.UnicodeUTF8))
        self.masterCheckBox.setToolTip(QtGui.QApplication.translate("AddProjectDialog", "Select to make this project the master project", None, QtGui.QApplication.UnicodeUTF8))
        self.masterCheckBox.setText(QtGui.QApplication.translate("AddProjectDialog", "Is &master project", None, QtGui.QApplication.UnicodeUTF8))


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