20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.MultiProject.AddProjectDialog</h1> |
23 <h1>eric5.MultiProject.AddProjectDialog</h1> |
24 <p> |
24 <p> |
25 Module implementing the add project dialog. |
25 Module implementing the add project dialog. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#AddProjectDialog">AddProjectDialog</a></td> |
34 <td><a href="#AddProjectDialog">AddProjectDialog</a></td> |
35 <td>Class implementing the add project dialog.</td> |
35 <td>Class implementing the add project dialog.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="AddProjectDialog" ID="AddProjectDialog"></a> |
43 <a NAME="AddProjectDialog" ID="AddProjectDialog"></a> |
44 <h2>AddProjectDialog</h2> |
44 <h2>AddProjectDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing the add project dialog. |
46 Class implementing the add project dialog. |
47 </p> |
47 </p> |
48 <h3>Derived from</h3> |
48 <h3>Derived from</h3> |
49 QDialog, Ui_AddProjectDialog |
49 QDialog, Ui_AddProjectDialog |
50 <h3>Class Attributes</h3> |
50 <h3>Class Attributes</h3> |
51 <table> |
51 <table> |
53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#AddProjectDialog.__init__">AddProjectDialog</a></td> |
57 <td><a href="#AddProjectDialog.__init__">AddProjectDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td> |
60 <td><a href="#AddProjectDialog.__updateUi">__updateUi</a></td> |
61 <td>Private method to update the dialog.</td> |
61 <td>Private method to update the dialog.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#AddProjectDialog.getData">getData</a></td> |
63 <td><a href="#AddProjectDialog.getData">getData</a></td> |
64 <td>Public slot to retrieve the dialogs data.</td> |
64 <td>Public slot to retrieve the dialogs data.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#AddProjectDialog.on_fileButton_clicked">on_fileButton_clicked</a></td> |
66 <td><a href="#AddProjectDialog.on_fileButton_clicked">on_fileButton_clicked</a></td> |
67 <td>Private slot to display a file selection dialog.</td> |
67 <td>Private slot to display a file selection dialog.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#AddProjectDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td> |
69 <td><a href="#AddProjectDialog.on_filenameEdit_textChanged">on_filenameEdit_textChanged</a></td> |
70 <td>Private slot called when the project filename has changed.</td> |
70 <td>Private slot called when the project filename has changed.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
72 <td><a href="#AddProjectDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td> |
73 <td>Private slot called when the project name has changed.</td> |
73 <td>Private slot called when the project name has changed.</td> |
74 </tr> |
74 </tr> |
75 </table> |
75 </table> |
76 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a> |
76 <a NAME="AddProjectDialog.__init__" ID="AddProjectDialog.__init__"></a> |
77 <h4>AddProjectDialog (Constructor)</h4> |
77 <h4>AddProjectDialog (Constructor)</h4> |
78 <b>AddProjectDialog</b>(<i>parent = None, startdir = None, project = None</i>) |
78 <b>AddProjectDialog</b>(<i>parent = None, startdir = None, project = None</i>) |
79 <p> |
79 <p> |
80 Constructor |
80 Constructor |
81 </p><dl> |
81 </p><dl> |
82 <dt><i>parent</i></dt> |
82 <dt><i>parent</i></dt> |
83 <dd> |
83 <dd> |
84 parent widget of this dialog (QWidget) |
84 parent widget of this dialog (QWidget) |
85 </dd><dt><i>startdir</i></dt> |
85 </dd><dt><i>startdir</i></dt> |
86 <dd> |
86 <dd> |
87 start directory for the selection dialog (string) |
87 start directory for the selection dialog (string) |
88 </dd><dt><i>project</i></dt> |
88 </dd><dt><i>project</i></dt> |
89 <dd> |
89 <dd> |
90 dictionary containing project data |
90 dictionary containing project data |
91 </dd> |
91 </dd> |
92 </dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a> |
92 </dl><a NAME="AddProjectDialog.__updateUi" ID="AddProjectDialog.__updateUi"></a> |
93 <h4>AddProjectDialog.__updateUi</h4> |
93 <h4>AddProjectDialog.__updateUi</h4> |
94 <b>__updateUi</b>(<i></i>) |
94 <b>__updateUi</b>(<i></i>) |
95 <p> |
95 <p> |
96 Private method to update the dialog. |
96 Private method to update the dialog. |
97 </p><a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a> |
97 </p><a NAME="AddProjectDialog.getData" ID="AddProjectDialog.getData"></a> |
98 <h4>AddProjectDialog.getData</h4> |
98 <h4>AddProjectDialog.getData</h4> |
99 <b>getData</b>(<i></i>) |
99 <b>getData</b>(<i></i>) |
100 <p> |
100 <p> |
101 Public slot to retrieve the dialogs data. |
101 Public slot to retrieve the dialogs data. |
102 </p><dl> |
102 </p><dl> |
103 <dt>Returns:</dt> |
103 <dt>Returns:</dt> |
104 <dd> |
104 <dd> |
105 tuple of four values (string, string, boolean, string) giving the |
105 tuple of four values (string, string, boolean, string) giving the |
106 project name, the name of the project file, a flag telling, whether |
106 project name, the name of the project file, a flag telling, whether |
107 the project shall be the master project and a short description |
107 the project shall be the master project and a short description |
108 for the project |
108 for the project |
109 </dd> |
109 </dd> |
110 </dl><a NAME="AddProjectDialog.on_fileButton_clicked" ID="AddProjectDialog.on_fileButton_clicked"></a> |
110 </dl><a NAME="AddProjectDialog.on_fileButton_clicked" ID="AddProjectDialog.on_fileButton_clicked"></a> |
111 <h4>AddProjectDialog.on_fileButton_clicked</h4> |
111 <h4>AddProjectDialog.on_fileButton_clicked</h4> |
112 <b>on_fileButton_clicked</b>(<i></i>) |
112 <b>on_fileButton_clicked</b>(<i></i>) |
113 <p> |
113 <p> |
114 Private slot to display a file selection dialog. |
114 Private slot to display a file selection dialog. |
115 </p><a NAME="AddProjectDialog.on_filenameEdit_textChanged" ID="AddProjectDialog.on_filenameEdit_textChanged"></a> |
115 </p><a NAME="AddProjectDialog.on_filenameEdit_textChanged" ID="AddProjectDialog.on_filenameEdit_textChanged"></a> |
116 <h4>AddProjectDialog.on_filenameEdit_textChanged</h4> |
116 <h4>AddProjectDialog.on_filenameEdit_textChanged</h4> |
117 <b>on_filenameEdit_textChanged</b>(<i>p0</i>) |
117 <b>on_filenameEdit_textChanged</b>(<i>p0</i>) |
118 <p> |
118 <p> |
119 Private slot called when the project filename has changed. |
119 Private slot called when the project filename has changed. |
120 </p><a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a> |
120 </p><a NAME="AddProjectDialog.on_nameEdit_textChanged" ID="AddProjectDialog.on_nameEdit_textChanged"></a> |
121 <h4>AddProjectDialog.on_nameEdit_textChanged</h4> |
121 <h4>AddProjectDialog.on_nameEdit_textChanged</h4> |
122 <b>on_nameEdit_textChanged</b>(<i>p0</i>) |
122 <b>on_nameEdit_textChanged</b>(<i>p0</i>) |
123 <p> |
123 <p> |
124 Private slot called when the project name has changed. |
124 Private slot called when the project name has changed. |
125 </p> |
125 </p> |
126 <div align="right"><a href="#top">Up</a></div> |
126 <div align="right"><a href="#top">Up</a></div> |
127 <hr /> |
127 <hr /> |
128 </body></html> |
128 </body></html> |