eric6/Documentation/Source/eric6.Plugins.WizardPlugins.E5MessageBoxWizard.E5MessageBoxWizardDialog.html

changeset 6942
2602857055c5
parent 3673
e26d7d0c1088
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.WizardPlugins.E5MessageBoxWizard.E5MessageBoxWizardDialog</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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.WizardPlugins.E5MessageBoxWizard.E5MessageBoxWizardDialog</h1>
23 <p>
24 Module implementing the eric6 message box wizard dialog.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#E5MessageBoxWizardDialog">E5MessageBoxWizardDialog</a></td>
34 <td>Class implementing the eric6 message box wizard dialog.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="E5MessageBoxWizardDialog" ID="E5MessageBoxWizardDialog"></a>
43 <h2>E5MessageBoxWizardDialog</h2>
44 <p>
45 Class implementing the eric6 message box wizard dialog.
46 </p><p>
47 It displays a dialog for entering the parameters
48 for the E5MessageBox code generator.
49 </p>
50 <h3>Derived from</h3>
51 QDialog, Ui_E5MessageBoxWizardDialog
52 <h3>Class Attributes</h3>
53 <table>
54 <tr><td>None</td></tr>
55 </table>
56 <h3>Class Methods</h3>
57 <table>
58 <tr><td>None</td></tr>
59 </table>
60 <h3>Methods</h3>
61 <table>
62 <tr>
63 <td><a href="#E5MessageBoxWizardDialog.__init__">E5MessageBoxWizardDialog</a></td>
64 <td>Constructor</td>
65 </tr><tr>
66 <td><a href="#E5MessageBoxWizardDialog.__enabledGroups">__enabledGroups</a></td>
67 <td>Private method to enable/disable some group boxes.</td>
68 </tr><tr>
69 <td><a href="#E5MessageBoxWizardDialog.__getDefaultButtonCode">__getDefaultButtonCode</a></td>
70 <td>Private method to generate the button code for the default button.</td>
71 </tr><tr>
72 <td><a href="#E5MessageBoxWizardDialog.__getStandardButtonCode">__getStandardButtonCode</a></td>
73 <td>Private method to generate the button code for the standard buttons.</td>
74 </tr><tr>
75 <td><a href="#E5MessageBoxWizardDialog.getCode">getCode</a></td>
76 <td>Public method to get the source code.</td>
77 </tr><tr>
78 <td><a href="#E5MessageBoxWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td>
79 <td>Private method to test the selected options.</td>
80 </tr><tr>
81 <td><a href="#E5MessageBoxWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
82 <td>Private slot called by a button of the button box clicked.</td>
83 </tr><tr>
84 <td><a href="#E5MessageBoxWizardDialog.on_rAboutQt_toggled">on_rAboutQt_toggled</a></td>
85 <td>Private slot to handle the toggled signal of the rAboutQt radio button.</td>
86 </tr><tr>
87 <td><a href="#E5MessageBoxWizardDialog.on_rAbout_toggled">on_rAbout_toggled</a></td>
88 <td>Private slot to handle the toggled signal of the rAbout radio button.</td>
89 </tr><tr>
90 <td><a href="#E5MessageBoxWizardDialog.on_rCritical_toggled">on_rCritical_toggled</a></td>
91 <td>Private slot to handle the toggled signal of the rCritical radio button.</td>
92 </tr><tr>
93 <td><a href="#E5MessageBoxWizardDialog.on_rInformation_toggled">on_rInformation_toggled</a></td>
94 <td>Private slot to handle the toggled signal of the rInformation radio button.</td>
95 </tr><tr>
96 <td><a href="#E5MessageBoxWizardDialog.on_rOkToClearData_toggled">on_rOkToClearData_toggled</a></td>
97 <td>Private slot to handle the toggled signal of the rOkToClearData radio button.</td>
98 </tr><tr>
99 <td><a href="#E5MessageBoxWizardDialog.on_rQuestion_toggled">on_rQuestion_toggled</a></td>
100 <td>Private slot to handle the toggled signal of the rQuestion radio button.</td>
101 </tr><tr>
102 <td><a href="#E5MessageBoxWizardDialog.on_rRetryAbort_toggled">on_rRetryAbort_toggled</a></td>
103 <td>Private slot to handle the toggled signal of the rRetryAbort radio button.</td>
104 </tr><tr>
105 <td><a href="#E5MessageBoxWizardDialog.on_rStandard_toggled">on_rStandard_toggled</a></td>
106 <td>Private slot to handle the toggled signal of the rStandard radio button.</td>
107 </tr><tr>
108 <td><a href="#E5MessageBoxWizardDialog.on_rWarning_toggled">on_rWarning_toggled</a></td>
109 <td>Private slot to handle the toggled signal of the rWarning radio button.</td>
110 </tr><tr>
111 <td><a href="#E5MessageBoxWizardDialog.on_rYesNo_toggled">on_rYesNo_toggled</a></td>
112 <td>Private slot to handle the toggled signal of the rYesNo radio button.</td>
113 </tr>
114 </table>
115 <h3>Static Methods</h3>
116 <table>
117 <tr><td>None</td></tr>
118 </table>
119 <a NAME="E5MessageBoxWizardDialog.__init__" ID="E5MessageBoxWizardDialog.__init__"></a>
120 <h4>E5MessageBoxWizardDialog (Constructor)</h4>
121 <b>E5MessageBoxWizardDialog</b>(<i>parent=None</i>)
122 <p>
123 Constructor
124 </p><dl>
125 <dt><i>parent</i></dt>
126 <dd>
127 reference to the parent widget (QWidget)
128 </dd>
129 </dl><a NAME="E5MessageBoxWizardDialog.__enabledGroups" ID="E5MessageBoxWizardDialog.__enabledGroups"></a>
130 <h4>E5MessageBoxWizardDialog.__enabledGroups</h4>
131 <b>__enabledGroups</b>(<i></i>)
132 <p>
133 Private method to enable/disable some group boxes.
134 </p><a NAME="E5MessageBoxWizardDialog.__getDefaultButtonCode" ID="E5MessageBoxWizardDialog.__getDefaultButtonCode"></a>
135 <h4>E5MessageBoxWizardDialog.__getDefaultButtonCode</h4>
136 <b>__getDefaultButtonCode</b>(<i>istring</i>)
137 <p>
138 Private method to generate the button code for the default button.
139 </p><dl>
140 <dt><i>istring</i></dt>
141 <dd>
142 indentation string (string)
143 </dd>
144 </dl><dl>
145 <dt>Returns:</dt>
146 <dd>
147 the button code (string)
148 </dd>
149 </dl><a NAME="E5MessageBoxWizardDialog.__getStandardButtonCode" ID="E5MessageBoxWizardDialog.__getStandardButtonCode"></a>
150 <h4>E5MessageBoxWizardDialog.__getStandardButtonCode</h4>
151 <b>__getStandardButtonCode</b>(<i>istring, indString, withIntro=True</i>)
152 <p>
153 Private method to generate the button code for the standard buttons.
154 </p><dl>
155 <dt><i>istring</i></dt>
156 <dd>
157 indentation string (string)
158 </dd><dt><i>indString</i></dt>
159 <dd>
160 string used for indentation (space or tab) (string)
161 </dd><dt><i>withIntro=</i></dt>
162 <dd>
163 flag indicating to generate a first line
164 with introductory text (boolean)
165 </dd>
166 </dl><dl>
167 <dt>Returns:</dt>
168 <dd>
169 the button code (string)
170 </dd>
171 </dl><a NAME="E5MessageBoxWizardDialog.getCode" ID="E5MessageBoxWizardDialog.getCode"></a>
172 <h4>E5MessageBoxWizardDialog.getCode</h4>
173 <b>getCode</b>(<i>indLevel, indString</i>)
174 <p>
175 Public method to get the source code.
176 </p><dl>
177 <dt><i>indLevel</i></dt>
178 <dd>
179 indentation level (int)
180 </dd><dt><i>indString</i></dt>
181 <dd>
182 string used for indentation (space or tab) (string)
183 </dd>
184 </dl><dl>
185 <dt>Returns:</dt>
186 <dd>
187 generated code (string)
188 </dd>
189 </dl><a NAME="E5MessageBoxWizardDialog.on_bTest_clicked" ID="E5MessageBoxWizardDialog.on_bTest_clicked"></a>
190 <h4>E5MessageBoxWizardDialog.on_bTest_clicked</h4>
191 <b>on_bTest_clicked</b>(<i></i>)
192 <p>
193 Private method to test the selected options.
194 </p><a NAME="E5MessageBoxWizardDialog.on_buttonBox_clicked" ID="E5MessageBoxWizardDialog.on_buttonBox_clicked"></a>
195 <h4>E5MessageBoxWizardDialog.on_buttonBox_clicked</h4>
196 <b>on_buttonBox_clicked</b>(<i>button</i>)
197 <p>
198 Private slot called by a button of the button box clicked.
199 </p><dl>
200 <dt><i>button</i></dt>
201 <dd>
202 button that was clicked (QAbstractButton)
203 </dd>
204 </dl><a NAME="E5MessageBoxWizardDialog.on_rAboutQt_toggled" ID="E5MessageBoxWizardDialog.on_rAboutQt_toggled"></a>
205 <h4>E5MessageBoxWizardDialog.on_rAboutQt_toggled</h4>
206 <b>on_rAboutQt_toggled</b>(<i>on</i>)
207 <p>
208 Private slot to handle the toggled signal of the rAboutQt
209 radio button.
210 </p><dl>
211 <dt><i>on</i></dt>
212 <dd>
213 toggle state (boolean) (ignored)
214 </dd>
215 </dl><a NAME="E5MessageBoxWizardDialog.on_rAbout_toggled" ID="E5MessageBoxWizardDialog.on_rAbout_toggled"></a>
216 <h4>E5MessageBoxWizardDialog.on_rAbout_toggled</h4>
217 <b>on_rAbout_toggled</b>(<i>on</i>)
218 <p>
219 Private slot to handle the toggled signal of the rAbout
220 radio button.
221 </p><dl>
222 <dt><i>on</i></dt>
223 <dd>
224 toggle state (boolean) (ignored)
225 </dd>
226 </dl><a NAME="E5MessageBoxWizardDialog.on_rCritical_toggled" ID="E5MessageBoxWizardDialog.on_rCritical_toggled"></a>
227 <h4>E5MessageBoxWizardDialog.on_rCritical_toggled</h4>
228 <b>on_rCritical_toggled</b>(<i>on</i>)
229 <p>
230 Private slot to handle the toggled signal of the rCritical
231 radio button.
232 </p><dl>
233 <dt><i>on</i></dt>
234 <dd>
235 toggle state (boolean) (ignored)
236 </dd>
237 </dl><a NAME="E5MessageBoxWizardDialog.on_rInformation_toggled" ID="E5MessageBoxWizardDialog.on_rInformation_toggled"></a>
238 <h4>E5MessageBoxWizardDialog.on_rInformation_toggled</h4>
239 <b>on_rInformation_toggled</b>(<i>on</i>)
240 <p>
241 Private slot to handle the toggled signal of the rInformation
242 radio button.
243 </p><dl>
244 <dt><i>on</i></dt>
245 <dd>
246 toggle state (boolean) (ignored)
247 </dd>
248 </dl><a NAME="E5MessageBoxWizardDialog.on_rOkToClearData_toggled" ID="E5MessageBoxWizardDialog.on_rOkToClearData_toggled"></a>
249 <h4>E5MessageBoxWizardDialog.on_rOkToClearData_toggled</h4>
250 <b>on_rOkToClearData_toggled</b>(<i>on</i>)
251 <p>
252 Private slot to handle the toggled signal of the rOkToClearData
253 radio button.
254 </p><dl>
255 <dt><i>on</i></dt>
256 <dd>
257 toggle state (boolean) (ignored)
258 </dd>
259 </dl><a NAME="E5MessageBoxWizardDialog.on_rQuestion_toggled" ID="E5MessageBoxWizardDialog.on_rQuestion_toggled"></a>
260 <h4>E5MessageBoxWizardDialog.on_rQuestion_toggled</h4>
261 <b>on_rQuestion_toggled</b>(<i>on</i>)
262 <p>
263 Private slot to handle the toggled signal of the rQuestion
264 radio button.
265 </p><dl>
266 <dt><i>on</i></dt>
267 <dd>
268 toggle state (boolean) (ignored)
269 </dd>
270 </dl><a NAME="E5MessageBoxWizardDialog.on_rRetryAbort_toggled" ID="E5MessageBoxWizardDialog.on_rRetryAbort_toggled"></a>
271 <h4>E5MessageBoxWizardDialog.on_rRetryAbort_toggled</h4>
272 <b>on_rRetryAbort_toggled</b>(<i>on</i>)
273 <p>
274 Private slot to handle the toggled signal of the rRetryAbort
275 radio button.
276 </p><dl>
277 <dt><i>on</i></dt>
278 <dd>
279 toggle state (boolean) (ignored)
280 </dd>
281 </dl><a NAME="E5MessageBoxWizardDialog.on_rStandard_toggled" ID="E5MessageBoxWizardDialog.on_rStandard_toggled"></a>
282 <h4>E5MessageBoxWizardDialog.on_rStandard_toggled</h4>
283 <b>on_rStandard_toggled</b>(<i>on</i>)
284 <p>
285 Private slot to handle the toggled signal of the rStandard
286 radio button.
287 </p><dl>
288 <dt><i>on</i></dt>
289 <dd>
290 toggle state (boolean) (ignored)
291 </dd>
292 </dl><a NAME="E5MessageBoxWizardDialog.on_rWarning_toggled" ID="E5MessageBoxWizardDialog.on_rWarning_toggled"></a>
293 <h4>E5MessageBoxWizardDialog.on_rWarning_toggled</h4>
294 <b>on_rWarning_toggled</b>(<i>on</i>)
295 <p>
296 Private slot to handle the toggled signal of the rWarning
297 radio button.
298 </p><dl>
299 <dt><i>on</i></dt>
300 <dd>
301 toggle state (boolean) (ignored)
302 </dd>
303 </dl><a NAME="E5MessageBoxWizardDialog.on_rYesNo_toggled" ID="E5MessageBoxWizardDialog.on_rYesNo_toggled"></a>
304 <h4>E5MessageBoxWizardDialog.on_rYesNo_toggled</h4>
305 <b>on_rYesNo_toggled</b>(<i>on</i>)
306 <p>
307 Private slot to handle the toggled signal of the rYesNo
308 radio button.
309 </p><dl>
310 <dt><i>on</i></dt>
311 <dd>
312 toggle state (boolean) (ignored)
313 </dd>
314 </dl>
315 <div align="right"><a href="#top">Up</a></div>
316 <hr />
317 </body></html>

eric ide

mercurial