eric7/Documentation/Source/eric7.Plugins.WizardPlugins.EricMessageBoxWizard.EricMessageBoxWizardDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.WizardPlugins.EricMessageBoxWizard.EricMessageBoxWizardDialog</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.Plugins.WizardPlugins.EricMessageBoxWizard.EricMessageBoxWizardDialog</h1>
24
25 <p>
26 Module implementing the eric message box wizard 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="#EricMessageBoxWizardDialog">EricMessageBoxWizardDialog</a></td>
39 <td>Class implementing the eric message box wizard 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="EricMessageBoxWizardDialog" ID="EricMessageBoxWizardDialog"></a>
50 <h2>EricMessageBoxWizardDialog</h2>
51
52 <p>
53 Class implementing the eric message box wizard dialog.
54 </p>
55 <p>
56 It displays a dialog for entering the parameters
57 for the EricMessageBox code generator.
58 </p>
59 <h3>Derived from</h3>
60 QDialog, Ui_EricMessageBoxWizardDialog
61 <h3>Class Attributes</h3>
62
63 <table>
64 <tr><td>None</td></tr>
65 </table>
66 <h3>Class Methods</h3>
67
68 <table>
69 <tr><td>None</td></tr>
70 </table>
71 <h3>Methods</h3>
72
73 <table>
74
75 <tr>
76 <td><a href="#EricMessageBoxWizardDialog.__init__">EricMessageBoxWizardDialog</a></td>
77 <td>Constructor</td>
78 </tr>
79 <tr>
80 <td><a href="#EricMessageBoxWizardDialog.__enabledGroups">__enabledGroups</a></td>
81 <td>Private method to enable/disable some group boxes.</td>
82 </tr>
83 <tr>
84 <td><a href="#EricMessageBoxWizardDialog.__getDefaultButtonCode">__getDefaultButtonCode</a></td>
85 <td>Private method to generate the button code for the default button.</td>
86 </tr>
87 <tr>
88 <td><a href="#EricMessageBoxWizardDialog.__getStandardButtonCode">__getStandardButtonCode</a></td>
89 <td>Private method to generate the button code for the standard buttons.</td>
90 </tr>
91 <tr>
92 <td><a href="#EricMessageBoxWizardDialog.getCode">getCode</a></td>
93 <td>Public method to get the source code.</td>
94 </tr>
95 <tr>
96 <td><a href="#EricMessageBoxWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td>
97 <td>Private method to test the selected options.</td>
98 </tr>
99 <tr>
100 <td><a href="#EricMessageBoxWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
101 <td>Private slot called by a button of the button box clicked.</td>
102 </tr>
103 <tr>
104 <td><a href="#EricMessageBoxWizardDialog.on_rAboutQt_toggled">on_rAboutQt_toggled</a></td>
105 <td>Private slot to handle the toggled signal of the rAboutQt radio button.</td>
106 </tr>
107 <tr>
108 <td><a href="#EricMessageBoxWizardDialog.on_rAbout_toggled">on_rAbout_toggled</a></td>
109 <td>Private slot to handle the toggled signal of the rAbout radio button.</td>
110 </tr>
111 <tr>
112 <td><a href="#EricMessageBoxWizardDialog.on_rCritical_toggled">on_rCritical_toggled</a></td>
113 <td>Private slot to handle the toggled signal of the rCritical radio button.</td>
114 </tr>
115 <tr>
116 <td><a href="#EricMessageBoxWizardDialog.on_rInformation_toggled">on_rInformation_toggled</a></td>
117 <td>Private slot to handle the toggled signal of the rInformation radio button.</td>
118 </tr>
119 <tr>
120 <td><a href="#EricMessageBoxWizardDialog.on_rOkToClearData_toggled">on_rOkToClearData_toggled</a></td>
121 <td>Private slot to handle the toggled signal of the rOkToClearData radio button.</td>
122 </tr>
123 <tr>
124 <td><a href="#EricMessageBoxWizardDialog.on_rQuestion_toggled">on_rQuestion_toggled</a></td>
125 <td>Private slot to handle the toggled signal of the rQuestion radio button.</td>
126 </tr>
127 <tr>
128 <td><a href="#EricMessageBoxWizardDialog.on_rRetryAbort_toggled">on_rRetryAbort_toggled</a></td>
129 <td>Private slot to handle the toggled signal of the rRetryAbort radio button.</td>
130 </tr>
131 <tr>
132 <td><a href="#EricMessageBoxWizardDialog.on_rStandard_toggled">on_rStandard_toggled</a></td>
133 <td>Private slot to handle the toggled signal of the rStandard radio button.</td>
134 </tr>
135 <tr>
136 <td><a href="#EricMessageBoxWizardDialog.on_rWarning_toggled">on_rWarning_toggled</a></td>
137 <td>Private slot to handle the toggled signal of the rWarning radio button.</td>
138 </tr>
139 <tr>
140 <td><a href="#EricMessageBoxWizardDialog.on_rYesNo_toggled">on_rYesNo_toggled</a></td>
141 <td>Private slot to handle the toggled signal of the rYesNo radio button.</td>
142 </tr>
143 </table>
144 <h3>Static Methods</h3>
145
146 <table>
147 <tr><td>None</td></tr>
148 </table>
149
150 <a NAME="EricMessageBoxWizardDialog.__init__" ID="EricMessageBoxWizardDialog.__init__"></a>
151 <h4>EricMessageBoxWizardDialog (Constructor)</h4>
152 <b>EricMessageBoxWizardDialog</b>(<i>parent=None</i>)
153
154 <p>
155 Constructor
156 </p>
157 <dl>
158
159 <dt><i>parent</i> (QWidget)</dt>
160 <dd>
161 reference to the parent widget
162 </dd>
163 </dl>
164 <a NAME="EricMessageBoxWizardDialog.__enabledGroups" ID="EricMessageBoxWizardDialog.__enabledGroups"></a>
165 <h4>EricMessageBoxWizardDialog.__enabledGroups</h4>
166 <b>__enabledGroups</b>(<i></i>)
167
168 <p>
169 Private method to enable/disable some group boxes.
170 </p>
171 <a NAME="EricMessageBoxWizardDialog.__getDefaultButtonCode" ID="EricMessageBoxWizardDialog.__getDefaultButtonCode"></a>
172 <h4>EricMessageBoxWizardDialog.__getDefaultButtonCode</h4>
173 <b>__getDefaultButtonCode</b>(<i>istring</i>)
174
175 <p>
176 Private method to generate the button code for the default button.
177 </p>
178 <dl>
179
180 <dt><i>istring</i> (str)</dt>
181 <dd>
182 indentation string
183 </dd>
184 </dl>
185 <dl>
186 <dt>Return:</dt>
187 <dd>
188 the button code
189 </dd>
190 </dl>
191 <dl>
192 <dt>Return Type:</dt>
193 <dd>
194 str
195 </dd>
196 </dl>
197 <a NAME="EricMessageBoxWizardDialog.__getStandardButtonCode" ID="EricMessageBoxWizardDialog.__getStandardButtonCode"></a>
198 <h4>EricMessageBoxWizardDialog.__getStandardButtonCode</h4>
199 <b>__getStandardButtonCode</b>(<i>istring, withIntro=True</i>)
200
201 <p>
202 Private method to generate the button code for the standard buttons.
203 </p>
204 <dl>
205
206 <dt><i>istring</i> (str)</dt>
207 <dd>
208 indentation string
209 </dd>
210 <dt><i>withIntro</i> (bool)</dt>
211 <dd>
212 flag indicating to generate a first line
213 with introductory text
214 </dd>
215 </dl>
216 <dl>
217 <dt>Return:</dt>
218 <dd>
219 the button code
220 </dd>
221 </dl>
222 <dl>
223 <dt>Return Type:</dt>
224 <dd>
225 str
226 </dd>
227 </dl>
228 <a NAME="EricMessageBoxWizardDialog.getCode" ID="EricMessageBoxWizardDialog.getCode"></a>
229 <h4>EricMessageBoxWizardDialog.getCode</h4>
230 <b>getCode</b>(<i>indLevel, indString</i>)
231
232 <p>
233 Public method to get the source code.
234 </p>
235 <dl>
236
237 <dt><i>indLevel</i> (int)</dt>
238 <dd>
239 indentation level
240 </dd>
241 <dt><i>indString</i> (str)</dt>
242 <dd>
243 string used for indentation (space or tab)
244 </dd>
245 </dl>
246 <dl>
247 <dt>Return:</dt>
248 <dd>
249 generated code
250 </dd>
251 </dl>
252 <dl>
253 <dt>Return Type:</dt>
254 <dd>
255 str
256 </dd>
257 </dl>
258 <a NAME="EricMessageBoxWizardDialog.on_bTest_clicked" ID="EricMessageBoxWizardDialog.on_bTest_clicked"></a>
259 <h4>EricMessageBoxWizardDialog.on_bTest_clicked</h4>
260 <b>on_bTest_clicked</b>(<i></i>)
261
262 <p>
263 Private method to test the selected options.
264 </p>
265 <a NAME="EricMessageBoxWizardDialog.on_buttonBox_clicked" ID="EricMessageBoxWizardDialog.on_buttonBox_clicked"></a>
266 <h4>EricMessageBoxWizardDialog.on_buttonBox_clicked</h4>
267 <b>on_buttonBox_clicked</b>(<i>button</i>)
268
269 <p>
270 Private slot called by a button of the button box clicked.
271 </p>
272 <dl>
273
274 <dt><i>button</i> (QAbstractButton)</dt>
275 <dd>
276 button that was clicked
277 </dd>
278 </dl>
279 <a NAME="EricMessageBoxWizardDialog.on_rAboutQt_toggled" ID="EricMessageBoxWizardDialog.on_rAboutQt_toggled"></a>
280 <h4>EricMessageBoxWizardDialog.on_rAboutQt_toggled</h4>
281 <b>on_rAboutQt_toggled</b>(<i>on</i>)
282
283 <p>
284 Private slot to handle the toggled signal of the rAboutQt
285 radio button.
286 </p>
287 <dl>
288
289 <dt><i>on</i> (bool)</dt>
290 <dd>
291 toggle state (ignored)
292 </dd>
293 </dl>
294 <a NAME="EricMessageBoxWizardDialog.on_rAbout_toggled" ID="EricMessageBoxWizardDialog.on_rAbout_toggled"></a>
295 <h4>EricMessageBoxWizardDialog.on_rAbout_toggled</h4>
296 <b>on_rAbout_toggled</b>(<i>on</i>)
297
298 <p>
299 Private slot to handle the toggled signal of the rAbout
300 radio button.
301 </p>
302 <dl>
303
304 <dt><i>on</i> (bool)</dt>
305 <dd>
306 toggle state (ignored)
307 </dd>
308 </dl>
309 <a NAME="EricMessageBoxWizardDialog.on_rCritical_toggled" ID="EricMessageBoxWizardDialog.on_rCritical_toggled"></a>
310 <h4>EricMessageBoxWizardDialog.on_rCritical_toggled</h4>
311 <b>on_rCritical_toggled</b>(<i>on</i>)
312
313 <p>
314 Private slot to handle the toggled signal of the rCritical
315 radio button.
316 </p>
317 <dl>
318
319 <dt><i>on</i> (bool)</dt>
320 <dd>
321 toggle state (ignored)
322 </dd>
323 </dl>
324 <a NAME="EricMessageBoxWizardDialog.on_rInformation_toggled" ID="EricMessageBoxWizardDialog.on_rInformation_toggled"></a>
325 <h4>EricMessageBoxWizardDialog.on_rInformation_toggled</h4>
326 <b>on_rInformation_toggled</b>(<i>on</i>)
327
328 <p>
329 Private slot to handle the toggled signal of the rInformation
330 radio button.
331 </p>
332 <dl>
333
334 <dt><i>on</i> (bool)</dt>
335 <dd>
336 toggle state (ignored)
337 </dd>
338 </dl>
339 <a NAME="EricMessageBoxWizardDialog.on_rOkToClearData_toggled" ID="EricMessageBoxWizardDialog.on_rOkToClearData_toggled"></a>
340 <h4>EricMessageBoxWizardDialog.on_rOkToClearData_toggled</h4>
341 <b>on_rOkToClearData_toggled</b>(<i>on</i>)
342
343 <p>
344 Private slot to handle the toggled signal of the rOkToClearData
345 radio button.
346 </p>
347 <dl>
348
349 <dt><i>on</i> (bool)</dt>
350 <dd>
351 toggle state (ignored)
352 </dd>
353 </dl>
354 <a NAME="EricMessageBoxWizardDialog.on_rQuestion_toggled" ID="EricMessageBoxWizardDialog.on_rQuestion_toggled"></a>
355 <h4>EricMessageBoxWizardDialog.on_rQuestion_toggled</h4>
356 <b>on_rQuestion_toggled</b>(<i>on</i>)
357
358 <p>
359 Private slot to handle the toggled signal of the rQuestion
360 radio button.
361 </p>
362 <dl>
363
364 <dt><i>on</i> (bool)</dt>
365 <dd>
366 toggle state (ignored)
367 </dd>
368 </dl>
369 <a NAME="EricMessageBoxWizardDialog.on_rRetryAbort_toggled" ID="EricMessageBoxWizardDialog.on_rRetryAbort_toggled"></a>
370 <h4>EricMessageBoxWizardDialog.on_rRetryAbort_toggled</h4>
371 <b>on_rRetryAbort_toggled</b>(<i>on</i>)
372
373 <p>
374 Private slot to handle the toggled signal of the rRetryAbort
375 radio button.
376 </p>
377 <dl>
378
379 <dt><i>on</i> (bool)</dt>
380 <dd>
381 toggle state (ignored)
382 </dd>
383 </dl>
384 <a NAME="EricMessageBoxWizardDialog.on_rStandard_toggled" ID="EricMessageBoxWizardDialog.on_rStandard_toggled"></a>
385 <h4>EricMessageBoxWizardDialog.on_rStandard_toggled</h4>
386 <b>on_rStandard_toggled</b>(<i>on</i>)
387
388 <p>
389 Private slot to handle the toggled signal of the rStandard
390 radio button.
391 </p>
392 <dl>
393
394 <dt><i>on</i> (bool)</dt>
395 <dd>
396 toggle state (ignored)
397 </dd>
398 </dl>
399 <a NAME="EricMessageBoxWizardDialog.on_rWarning_toggled" ID="EricMessageBoxWizardDialog.on_rWarning_toggled"></a>
400 <h4>EricMessageBoxWizardDialog.on_rWarning_toggled</h4>
401 <b>on_rWarning_toggled</b>(<i>on</i>)
402
403 <p>
404 Private slot to handle the toggled signal of the rWarning
405 radio button.
406 </p>
407 <dl>
408
409 <dt><i>on</i> (bool)</dt>
410 <dd>
411 toggle state (ignored)
412 </dd>
413 </dl>
414 <a NAME="EricMessageBoxWizardDialog.on_rYesNo_toggled" ID="EricMessageBoxWizardDialog.on_rYesNo_toggled"></a>
415 <h4>EricMessageBoxWizardDialog.on_rYesNo_toggled</h4>
416 <b>on_rYesNo_toggled</b>(<i>on</i>)
417
418 <p>
419 Private slot to handle the toggled signal of the rYesNo
420 radio button.
421 </p>
422 <dl>
423
424 <dt><i>on</i> (bool)</dt>
425 <dd>
426 toggle state (ignored)
427 </dd>
428 </dl>
429 <div align="right"><a href="#top">Up</a></div>
430 <hr />
431 </body></html>

eric ide

mercurial