diff -r 1b59c4ba121e -r 8cd4d08fa9f6 MultiProject/AddProjectDialog.py --- a/MultiProject/AddProjectDialog.py Fri Mar 11 08:55:14 2011 +0100 +++ b/MultiProject/AddProjectDialog.py Fri Mar 11 16:51:57 2011 +0100 @@ -17,11 +17,12 @@ import Utilities + class AddProjectDialog(QDialog, Ui_AddProjectDialog): """ Class implementing the add project dialog. """ - def __init__(self, parent = None, startdir = None, project = None): + def __init__(self, parent=None, startdir=None, project=None): """ Constructor @@ -71,13 +72,13 @@ """ Public slot to retrieve the dialogs data. - @return tuple of four values (string, string, boolean, string) giving the + @return tuple of four values (string, string, boolean, string) giving the project name, the name of the project file, a flag telling, whether the project shall be the master project and a short description for the project """ - return (self.nameEdit.text(), self.filenameEdit.text(), - self.masterCheckBox.isChecked(), + return (self.nameEdit.text(), self.filenameEdit.text(), + self.masterCheckBox.isChecked(), self.descriptionEdit.toPlainText()) @pyqtSlot(str)