16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Project.PropertiesDialog</h1> |
23 <h1>eric6.Project.PropertiesDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the project properties dialog. |
26 Module implementing the project properties dialog. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#PropertiesDialog">PropertiesDialog</a></td> |
38 <td><a href="#PropertiesDialog">PropertiesDialog</a></td> |
34 <td>Class implementing the project properties dialog.</td> |
39 <td>Class implementing the project properties dialog.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="PropertiesDialog" ID="PropertiesDialog"></a> |
49 <a NAME="PropertiesDialog" ID="PropertiesDialog"></a> |
43 <h2>PropertiesDialog</h2> |
50 <h2>PropertiesDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the project properties dialog. |
53 Class implementing the project properties dialog. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_PropertiesDialog |
56 QDialog, Ui_PropertiesDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#PropertiesDialog.__init__">PropertiesDialog</a></td> |
72 <td><a href="#PropertiesDialog.__init__">PropertiesDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#PropertiesDialog.getPPath">getPPath</a></td> |
76 <td><a href="#PropertiesDialog.getPPath">getPPath</a></td> |
64 <td>Public method to get the project path.</td> |
77 <td>Public method to get the project path.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#PropertiesDialog.getProjectType">getProjectType</a></td> |
80 <td><a href="#PropertiesDialog.getProjectType">getProjectType</a></td> |
67 <td>Public method to get the selected project type.</td> |
81 <td>Public method to get the selected project type.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#PropertiesDialog.on_dirPicker_textChanged">on_dirPicker_textChanged</a></td> |
84 <td><a href="#PropertiesDialog.on_dirPicker_textChanged">on_dirPicker_textChanged</a></td> |
70 <td>Private slot to handle a change of the project directory.</td> |
85 <td>Private slot to handle a change of the project directory.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#PropertiesDialog.on_languageComboBox_currentIndexChanged">on_languageComboBox_currentIndexChanged</a></td> |
88 <td><a href="#PropertiesDialog.on_languageComboBox_currentIndexChanged">on_languageComboBox_currentIndexChanged</a></td> |
73 <td>Private slot handling the selection of a programming language.</td> |
89 <td>Private slot handling the selection of a programming language.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog">on_mainscriptPicker_aboutToShowPathPickerDialog</a></td> |
92 <td><a href="#PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog">on_mainscriptPicker_aboutToShowPathPickerDialog</a></td> |
76 <td>Private slot to perform actions before the main script selection dialog is shown.</td> |
93 <td>Private slot to perform actions before the main script selection dialog is shown.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#PropertiesDialog.on_mainscriptPicker_pathSelected">on_mainscriptPicker_pathSelected</a></td> |
96 <td><a href="#PropertiesDialog.on_mainscriptPicker_pathSelected">on_mainscriptPicker_pathSelected</a></td> |
79 <td>Private slot to check the selected main script name.</td> |
97 <td>Private slot to check the selected main script name.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#PropertiesDialog.on_makeButton_clicked">on_makeButton_clicked</a></td> |
100 <td><a href="#PropertiesDialog.on_makeButton_clicked">on_makeButton_clicked</a></td> |
82 <td>Private slot to display the make properties dialog.</td> |
101 <td>Private slot to display the make properties dialog.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#PropertiesDialog.on_spellPropertiesButton_clicked">on_spellPropertiesButton_clicked</a></td> |
104 <td><a href="#PropertiesDialog.on_spellPropertiesButton_clicked">on_spellPropertiesButton_clicked</a></td> |
85 <td>Private slot to display the spelling properties dialog.</td> |
105 <td>Private slot to display the spelling properties dialog.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#PropertiesDialog.on_transPropertiesButton_clicked">on_transPropertiesButton_clicked</a></td> |
108 <td><a href="#PropertiesDialog.on_transPropertiesButton_clicked">on_transPropertiesButton_clicked</a></td> |
88 <td>Private slot to display the translations properties dialog.</td> |
109 <td>Private slot to display the translations properties dialog.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#PropertiesDialog.on_vcsInfoButton_clicked">on_vcsInfoButton_clicked</a></td> |
112 <td><a href="#PropertiesDialog.on_vcsInfoButton_clicked">on_vcsInfoButton_clicked</a></td> |
91 <td>Private slot to display a vcs information dialog.</td> |
113 <td>Private slot to display a vcs information dialog.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#PropertiesDialog.storeData">storeData</a></td> |
116 <td><a href="#PropertiesDialog.storeData">storeData</a></td> |
94 <td>Public method to store the entered/modified data.</td> |
117 <td>Public method to store the entered/modified data.</td> |
95 </tr> |
118 </tr> |
96 </table> |
119 </table> |
97 <h3>Static Methods</h3> |
120 <h3>Static Methods</h3> |
98 <table> |
121 |
99 <tr><td>None</td></tr> |
122 <table> |
100 </table> |
123 <tr><td>None</td></tr> |
|
124 </table> |
|
125 |
101 <a NAME="PropertiesDialog.__init__" ID="PropertiesDialog.__init__"></a> |
126 <a NAME="PropertiesDialog.__init__" ID="PropertiesDialog.__init__"></a> |
102 <h4>PropertiesDialog (Constructor)</h4> |
127 <h4>PropertiesDialog (Constructor)</h4> |
103 <b>PropertiesDialog</b>(<i>project, new=True, parent=None, name=None</i>) |
128 <b>PropertiesDialog</b>(<i>project, new=True, parent=None, name=None</i>) |
|
129 |
104 <p> |
130 <p> |
105 Constructor |
131 Constructor |
106 </p><dl> |
132 </p> |
|
133 <dl> |
|
134 |
107 <dt><i>project</i></dt> |
135 <dt><i>project</i></dt> |
108 <dd> |
136 <dd> |
109 reference to the project object |
137 reference to the project object |
110 </dd><dt><i>new</i></dt> |
138 </dd> |
|
139 <dt><i>new</i></dt> |
111 <dd> |
140 <dd> |
112 flag indicating the generation of a new project |
141 flag indicating the generation of a new project |
113 </dd><dt><i>parent</i></dt> |
142 </dd> |
|
143 <dt><i>parent</i></dt> |
114 <dd> |
144 <dd> |
115 parent widget of this dialog (QWidget) |
145 parent widget of this dialog (QWidget) |
116 </dd><dt><i>name</i></dt> |
146 </dd> |
|
147 <dt><i>name</i></dt> |
117 <dd> |
148 <dd> |
118 name of this dialog (string) |
149 name of this dialog (string) |
119 </dd> |
150 </dd> |
120 </dl><a NAME="PropertiesDialog.getPPath" ID="PropertiesDialog.getPPath"></a> |
151 </dl> |
|
152 <a NAME="PropertiesDialog.getPPath" ID="PropertiesDialog.getPPath"></a> |
121 <h4>PropertiesDialog.getPPath</h4> |
153 <h4>PropertiesDialog.getPPath</h4> |
122 <b>getPPath</b>(<i></i>) |
154 <b>getPPath</b>(<i></i>) |
|
155 |
123 <p> |
156 <p> |
124 Public method to get the project path. |
157 Public method to get the project path. |
125 </p><dl> |
158 </p> |
|
159 <dl> |
126 <dt>Returns:</dt> |
160 <dt>Returns:</dt> |
127 <dd> |
161 <dd> |
128 data of the project directory edit (string) |
162 data of the project directory edit (string) |
129 </dd> |
163 </dd> |
130 </dl><a NAME="PropertiesDialog.getProjectType" ID="PropertiesDialog.getProjectType"></a> |
164 </dl> |
|
165 <a NAME="PropertiesDialog.getProjectType" ID="PropertiesDialog.getProjectType"></a> |
131 <h4>PropertiesDialog.getProjectType</h4> |
166 <h4>PropertiesDialog.getProjectType</h4> |
132 <b>getProjectType</b>(<i></i>) |
167 <b>getProjectType</b>(<i></i>) |
|
168 |
133 <p> |
169 <p> |
134 Public method to get the selected project type. |
170 Public method to get the selected project type. |
135 </p><dl> |
171 </p> |
|
172 <dl> |
136 <dt>Returns:</dt> |
173 <dt>Returns:</dt> |
137 <dd> |
174 <dd> |
138 selected UI type (string) |
175 selected UI type (string) |
139 </dd> |
176 </dd> |
140 </dl><a NAME="PropertiesDialog.on_dirPicker_textChanged" ID="PropertiesDialog.on_dirPicker_textChanged"></a> |
177 </dl> |
|
178 <a NAME="PropertiesDialog.on_dirPicker_textChanged" ID="PropertiesDialog.on_dirPicker_textChanged"></a> |
141 <h4>PropertiesDialog.on_dirPicker_textChanged</h4> |
179 <h4>PropertiesDialog.on_dirPicker_textChanged</h4> |
142 <b>on_dirPicker_textChanged</b>(<i>txt</i>) |
180 <b>on_dirPicker_textChanged</b>(<i>txt</i>) |
|
181 |
143 <p> |
182 <p> |
144 Private slot to handle a change of the project directory. |
183 Private slot to handle a change of the project directory. |
145 </p><dl> |
184 </p> |
|
185 <dl> |
|
186 |
146 <dt><i>txt</i></dt> |
187 <dt><i>txt</i></dt> |
147 <dd> |
188 <dd> |
148 name of the project directory (string) |
189 name of the project directory (string) |
149 </dd> |
190 </dd> |
150 </dl><a NAME="PropertiesDialog.on_languageComboBox_currentIndexChanged" ID="PropertiesDialog.on_languageComboBox_currentIndexChanged"></a> |
191 </dl> |
|
192 <a NAME="PropertiesDialog.on_languageComboBox_currentIndexChanged" ID="PropertiesDialog.on_languageComboBox_currentIndexChanged"></a> |
151 <h4>PropertiesDialog.on_languageComboBox_currentIndexChanged</h4> |
193 <h4>PropertiesDialog.on_languageComboBox_currentIndexChanged</h4> |
152 <b>on_languageComboBox_currentIndexChanged</b>(<i>language</i>) |
194 <b>on_languageComboBox_currentIndexChanged</b>(<i>language</i>) |
|
195 |
153 <p> |
196 <p> |
154 Private slot handling the selection of a programming language. |
197 Private slot handling the selection of a programming language. |
155 </p><dl> |
198 </p> |
|
199 <dl> |
|
200 |
156 <dt><i>language</i></dt> |
201 <dt><i>language</i></dt> |
157 <dd> |
202 <dd> |
158 selected programming language (string) |
203 selected programming language (string) |
159 </dd> |
204 </dd> |
160 </dl><a NAME="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog" ID="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog"></a> |
205 </dl> |
|
206 <a NAME="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog" ID="PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog"></a> |
161 <h4>PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog</h4> |
207 <h4>PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog</h4> |
162 <b>on_mainscriptPicker_aboutToShowPathPickerDialog</b>(<i></i>) |
208 <b>on_mainscriptPicker_aboutToShowPathPickerDialog</b>(<i></i>) |
|
209 |
163 <p> |
210 <p> |
164 Private slot to perform actions before the main script selection dialog |
211 Private slot to perform actions before the main script selection dialog |
165 is shown. |
212 is shown. |
166 </p><a NAME="PropertiesDialog.on_mainscriptPicker_pathSelected" ID="PropertiesDialog.on_mainscriptPicker_pathSelected"></a> |
213 </p> |
|
214 <a NAME="PropertiesDialog.on_mainscriptPicker_pathSelected" ID="PropertiesDialog.on_mainscriptPicker_pathSelected"></a> |
167 <h4>PropertiesDialog.on_mainscriptPicker_pathSelected</h4> |
215 <h4>PropertiesDialog.on_mainscriptPicker_pathSelected</h4> |
168 <b>on_mainscriptPicker_pathSelected</b>(<i>script</i>) |
216 <b>on_mainscriptPicker_pathSelected</b>(<i>script</i>) |
|
217 |
169 <p> |
218 <p> |
170 Private slot to check the selected main script name. |
219 Private slot to check the selected main script name. |
171 </p><dl> |
220 </p> |
|
221 <dl> |
|
222 |
172 <dt><i>script</i> (str)</dt> |
223 <dt><i>script</i> (str)</dt> |
173 <dd> |
224 <dd> |
174 name of the main script |
225 name of the main script |
175 </dd> |
226 </dd> |
176 </dl><a NAME="PropertiesDialog.on_makeButton_clicked" ID="PropertiesDialog.on_makeButton_clicked"></a> |
227 </dl> |
|
228 <a NAME="PropertiesDialog.on_makeButton_clicked" ID="PropertiesDialog.on_makeButton_clicked"></a> |
177 <h4>PropertiesDialog.on_makeButton_clicked</h4> |
229 <h4>PropertiesDialog.on_makeButton_clicked</h4> |
178 <b>on_makeButton_clicked</b>(<i></i>) |
230 <b>on_makeButton_clicked</b>(<i></i>) |
|
231 |
179 <p> |
232 <p> |
180 Private slot to display the make properties dialog. |
233 Private slot to display the make properties dialog. |
181 </p><a NAME="PropertiesDialog.on_spellPropertiesButton_clicked" ID="PropertiesDialog.on_spellPropertiesButton_clicked"></a> |
234 </p> |
|
235 <a NAME="PropertiesDialog.on_spellPropertiesButton_clicked" ID="PropertiesDialog.on_spellPropertiesButton_clicked"></a> |
182 <h4>PropertiesDialog.on_spellPropertiesButton_clicked</h4> |
236 <h4>PropertiesDialog.on_spellPropertiesButton_clicked</h4> |
183 <b>on_spellPropertiesButton_clicked</b>(<i></i>) |
237 <b>on_spellPropertiesButton_clicked</b>(<i></i>) |
|
238 |
184 <p> |
239 <p> |
185 Private slot to display the spelling properties dialog. |
240 Private slot to display the spelling properties dialog. |
186 </p><a NAME="PropertiesDialog.on_transPropertiesButton_clicked" ID="PropertiesDialog.on_transPropertiesButton_clicked"></a> |
241 </p> |
|
242 <a NAME="PropertiesDialog.on_transPropertiesButton_clicked" ID="PropertiesDialog.on_transPropertiesButton_clicked"></a> |
187 <h4>PropertiesDialog.on_transPropertiesButton_clicked</h4> |
243 <h4>PropertiesDialog.on_transPropertiesButton_clicked</h4> |
188 <b>on_transPropertiesButton_clicked</b>(<i></i>) |
244 <b>on_transPropertiesButton_clicked</b>(<i></i>) |
|
245 |
189 <p> |
246 <p> |
190 Private slot to display the translations properties dialog. |
247 Private slot to display the translations properties dialog. |
191 </p><a NAME="PropertiesDialog.on_vcsInfoButton_clicked" ID="PropertiesDialog.on_vcsInfoButton_clicked"></a> |
248 </p> |
|
249 <a NAME="PropertiesDialog.on_vcsInfoButton_clicked" ID="PropertiesDialog.on_vcsInfoButton_clicked"></a> |
192 <h4>PropertiesDialog.on_vcsInfoButton_clicked</h4> |
250 <h4>PropertiesDialog.on_vcsInfoButton_clicked</h4> |
193 <b>on_vcsInfoButton_clicked</b>(<i></i>) |
251 <b>on_vcsInfoButton_clicked</b>(<i></i>) |
|
252 |
194 <p> |
253 <p> |
195 Private slot to display a vcs information dialog. |
254 Private slot to display a vcs information dialog. |
196 </p><a NAME="PropertiesDialog.storeData" ID="PropertiesDialog.storeData"></a> |
255 </p> |
|
256 <a NAME="PropertiesDialog.storeData" ID="PropertiesDialog.storeData"></a> |
197 <h4>PropertiesDialog.storeData</h4> |
257 <h4>PropertiesDialog.storeData</h4> |
198 <b>storeData</b>(<i></i>) |
258 <b>storeData</b>(<i></i>) |
|
259 |
199 <p> |
260 <p> |
200 Public method to store the entered/modified data. |
261 Public method to store the entered/modified data. |
201 </p> |
262 </p> |
202 <div align="right"><a href="#top">Up</a></div> |
263 <div align="right"><a href="#top">Up</a></div> |
203 <hr /> |
264 <hr /> |