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

# Form implementation generated from reading ui file 'eric/MultiProject/AddProjectDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_AddProjectDialog(object):
    def setupUi(self, AddProjectDialog):
        AddProjectDialog.setObjectName(_fromUtf8("AddProjectDialog"))
        AddProjectDialog.resize(569, 378)
        AddProjectDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(AddProjectDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(AddProjectDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.nameEdit = QtGui.QLineEdit(AddProjectDialog)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.gridLayout.addWidget(self.nameEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(AddProjectDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.filenamePicker = E5PathPicker(AddProjectDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.filenamePicker.sizePolicy().hasHeightForWidth())
        self.filenamePicker.setSizePolicy(sizePolicy)
        self.filenamePicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.filenamePicker.setObjectName(_fromUtf8("filenamePicker"))
        self.gridLayout.addWidget(self.filenamePicker, 1, 1, 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(_fromUtf8("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(_fromUtf8("descriptionEdit"))
        self.gridLayout.addWidget(self.descriptionEdit, 2, 1, 1, 1)
        self.label_4 = QtGui.QLabel(AddProjectDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.categoryComboBox = QtGui.QComboBox(AddProjectDialog)
        self.categoryComboBox.setEditable(True)
        self.categoryComboBox.setObjectName(_fromUtf8("categoryComboBox"))
        self.gridLayout.addWidget(self.categoryComboBox, 3, 1, 1, 1)
        self.masterCheckBox = QtGui.QCheckBox(AddProjectDialog)
        self.masterCheckBox.setObjectName(_fromUtf8("masterCheckBox"))
        self.gridLayout.addWidget(self.masterCheckBox, 4, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(AddProjectDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 2)
        self.label.setBuddy(self.nameEdit)
        self.label_2.setBuddy(self.filenamePicker)
        self.label_3.setBuddy(self.descriptionEdit)
        self.label_4.setBuddy(self.categoryComboBox)

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

    def retranslateUi(self, AddProjectDialog):
        AddProjectDialog.setWindowTitle(_translate("AddProjectDialog", "Add Project", None))
        self.label.setText(_translate("AddProjectDialog", "&Name:", None))
        self.nameEdit.setToolTip(_translate("AddProjectDialog", "Enter the name of the project", None))
        self.label_2.setText(_translate("AddProjectDialog", "Project&file:", None))
        self.filenamePicker.setToolTip(_translate("AddProjectDialog", "Enter the name of the project file", None))
        self.label_3.setText(_translate("AddProjectDialog", "&Description:", None))
        self.descriptionEdit.setToolTip(_translate("AddProjectDialog", "Enter a short description for the project", None))
        self.label_4.setText(_translate("AddProjectDialog", "&Category:", None))
        self.categoryComboBox.setToolTip(_translate("AddProjectDialog", "Select a project category", None))
        self.masterCheckBox.setToolTip(_translate("AddProjectDialog", "Select to make this project the main project", None))
        self.masterCheckBox.setText(_translate("AddProjectDialog", "Is &main project", None))

from E5Gui.E5PathPicker import E5PathPicker
