80 <table> |
80 <table> |
81 <tr><td>None</td></tr> |
81 <tr><td>None</td></tr> |
82 </table> |
82 </table> |
83 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a> |
83 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a> |
84 <h4>AddProjectDialog (Constructor)</h4> |
84 <h4>AddProjectDialog (Constructor)</h4> |
85 <b>AddProjectDialog</b>(<i>parent=None, startdir=None, project=None</i>) |
85 <b>AddProjectDialog</b>(<i>parent=None, startdir=None, project=None, categories=None</i>) |
86 <p> |
86 <p> |
87 Constructor |
87 Constructor |
88 </p><dl> |
88 </p><dl> |
89 <dt><i>parent</i></dt> |
89 <dt><i>parent</i></dt> |
90 <dd> |
90 <dd> |
93 <dd> |
93 <dd> |
94 start directory for the selection dialog (string) |
94 start directory for the selection dialog (string) |
95 </dd><dt><i>project</i></dt> |
95 </dd><dt><i>project</i></dt> |
96 <dd> |
96 <dd> |
97 dictionary containing project data |
97 dictionary containing project data |
|
98 </dd><dt><i>categories</i></dt> |
|
99 <dd> |
|
100 list of already used categories (list of string) |
98 </dd> |
101 </dd> |
99 </dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a> |
102 </dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a> |
100 <h4>AddProjectDialog.__updateUi</h4> |
103 <h4>AddProjectDialog.__updateUi</h4> |
101 <b>__updateUi</b>(<i></i>) |
104 <b>__updateUi</b>(<i></i>) |
102 <p> |
105 <p> |
107 <p> |
110 <p> |
108 Public slot to retrieve the dialogs data. |
111 Public slot to retrieve the dialogs data. |
109 </p><dl> |
112 </p><dl> |
110 <dt>Returns:</dt> |
113 <dt>Returns:</dt> |
111 <dd> |
114 <dd> |
112 tuple of four values (string, string, boolean, string) giving |
115 tuple of five values (string, string, boolean, string, string) |
113 the project name, the name of the project file, a flag telling, |
116 giving the project name, the name of the project file, a flag |
114 whether the project shall be the main project and a short |
117 telling whether the project shall be the main project, a short |
115 description for the project |
118 description for the project and the project category |
116 </dd> |
119 </dd> |
117 </dl><a NAME="AddProjectDialog.on_fileButton_clicked" ID="AddProjectDialog.on_fileButton_clicked"></a> |
120 </dl><a NAME="AddProjectDialog.on_fileButton_clicked" ID="AddProjectDialog.on_fileButton_clicked"></a> |
118 <h4>AddProjectDialog.on_fileButton_clicked</h4> |
121 <h4>AddProjectDialog.on_fileButton_clicked</h4> |
119 <b>on_fileButton_clicked</b>(<i></i>) |
122 <b>on_fileButton_clicked</b>(<i></i>) |
120 <p> |
123 <p> |