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