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

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

eric ide

mercurial