|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.WizardPlugins.MessageBoxWizard.MessageBoxWizardDialog</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.MessageBoxWizard.MessageBoxWizardDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the 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="#MessageBoxWizardDialog">MessageBoxWizardDialog</a></td> |
|
39 <td>Class implementing the 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="MessageBoxWizardDialog" ID="MessageBoxWizardDialog"></a> |
|
50 <h2>MessageBoxWizardDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the message box wizard dialog. |
|
54 </p> |
|
55 <p> |
|
56 It displays a dialog for entering the parameters |
|
57 for the QMessageBox code generator. |
|
58 </p> |
|
59 <h3>Derived from</h3> |
|
60 QDialog, Ui_MessageBoxWizardDialog |
|
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="#MessageBoxWizardDialog.__init__">MessageBoxWizardDialog</a></td> |
|
77 <td>Constructor</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#MessageBoxWizardDialog.__enabledGroups">__enabledGroups</a></td> |
|
81 <td>Private method to enable/disable some group boxes.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#MessageBoxWizardDialog.__getButtonCode">__getButtonCode</a></td> |
|
85 <td>Private method to generate the button code.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#MessageBoxWizardDialog.__testSelectedOptions">__testSelectedOptions</a></td> |
|
89 <td>Private method to test the selected options.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#MessageBoxWizardDialog.getCode">getCode</a></td> |
|
93 <td>Public method to get the source code.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#MessageBoxWizardDialog.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="#MessageBoxWizardDialog.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="#MessageBoxWizardDialog.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="#MessageBoxWizardDialog.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 </table> |
|
112 <h3>Static Methods</h3> |
|
113 |
|
114 <table> |
|
115 <tr><td>None</td></tr> |
|
116 </table> |
|
117 |
|
118 <a NAME="MessageBoxWizardDialog.__init__" ID="MessageBoxWizardDialog.__init__"></a> |
|
119 <h4>MessageBoxWizardDialog (Constructor)</h4> |
|
120 <b>MessageBoxWizardDialog</b>(<i>parent=None</i>) |
|
121 |
|
122 <p> |
|
123 Constructor |
|
124 </p> |
|
125 <dl> |
|
126 |
|
127 <dt><i>parent</i></dt> |
|
128 <dd> |
|
129 parent widget (QWidget) |
|
130 </dd> |
|
131 </dl> |
|
132 <a NAME="MessageBoxWizardDialog.__enabledGroups" ID="MessageBoxWizardDialog.__enabledGroups"></a> |
|
133 <h4>MessageBoxWizardDialog.__enabledGroups</h4> |
|
134 <b>__enabledGroups</b>(<i></i>) |
|
135 |
|
136 <p> |
|
137 Private method to enable/disable some group boxes. |
|
138 </p> |
|
139 <a NAME="MessageBoxWizardDialog.__getButtonCode" ID="MessageBoxWizardDialog.__getButtonCode"></a> |
|
140 <h4>MessageBoxWizardDialog.__getButtonCode</h4> |
|
141 <b>__getButtonCode</b>(<i>istring, indString</i>) |
|
142 |
|
143 <p> |
|
144 Private method to generate the button code. |
|
145 </p> |
|
146 <dl> |
|
147 |
|
148 <dt><i>istring</i></dt> |
|
149 <dd> |
|
150 indentation string (string) |
|
151 </dd> |
|
152 <dt><i>indString</i></dt> |
|
153 <dd> |
|
154 string used for indentation (space or tab) (string) |
|
155 </dd> |
|
156 </dl> |
|
157 <dl> |
|
158 <dt>Return:</dt> |
|
159 <dd> |
|
160 the button code (string) |
|
161 </dd> |
|
162 </dl> |
|
163 <a NAME="MessageBoxWizardDialog.__testSelectedOptions" ID="MessageBoxWizardDialog.__testSelectedOptions"></a> |
|
164 <h4>MessageBoxWizardDialog.__testSelectedOptions</h4> |
|
165 <b>__testSelectedOptions</b>(<i></i>) |
|
166 |
|
167 <p> |
|
168 Private method to test the selected options. |
|
169 </p> |
|
170 <a NAME="MessageBoxWizardDialog.getCode" ID="MessageBoxWizardDialog.getCode"></a> |
|
171 <h4>MessageBoxWizardDialog.getCode</h4> |
|
172 <b>getCode</b>(<i>indLevel, indString</i>) |
|
173 |
|
174 <p> |
|
175 Public method to get the source code. |
|
176 </p> |
|
177 <dl> |
|
178 |
|
179 <dt><i>indLevel</i></dt> |
|
180 <dd> |
|
181 indentation level (int) |
|
182 </dd> |
|
183 <dt><i>indString</i></dt> |
|
184 <dd> |
|
185 string used for indentation (space or tab) (string) |
|
186 </dd> |
|
187 </dl> |
|
188 <dl> |
|
189 <dt>Return:</dt> |
|
190 <dd> |
|
191 generated code (string) |
|
192 </dd> |
|
193 </dl> |
|
194 <a NAME="MessageBoxWizardDialog.on_bTest_clicked" ID="MessageBoxWizardDialog.on_bTest_clicked"></a> |
|
195 <h4>MessageBoxWizardDialog.on_bTest_clicked</h4> |
|
196 <b>on_bTest_clicked</b>(<i></i>) |
|
197 |
|
198 <p> |
|
199 Private method to test the selected options. |
|
200 </p> |
|
201 <a NAME="MessageBoxWizardDialog.on_buttonBox_clicked" ID="MessageBoxWizardDialog.on_buttonBox_clicked"></a> |
|
202 <h4>MessageBoxWizardDialog.on_buttonBox_clicked</h4> |
|
203 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
204 |
|
205 <p> |
|
206 Private slot called by a button of the button box clicked. |
|
207 </p> |
|
208 <dl> |
|
209 |
|
210 <dt><i>button</i></dt> |
|
211 <dd> |
|
212 button that was clicked (QAbstractButton) |
|
213 </dd> |
|
214 </dl> |
|
215 <a NAME="MessageBoxWizardDialog.on_rAboutQt_toggled" ID="MessageBoxWizardDialog.on_rAboutQt_toggled"></a> |
|
216 <h4>MessageBoxWizardDialog.on_rAboutQt_toggled</h4> |
|
217 <b>on_rAboutQt_toggled</b>(<i>on</i>) |
|
218 |
|
219 <p> |
|
220 Private slot to handle the toggled signal of the rAboutQt radio button. |
|
221 </p> |
|
222 <dl> |
|
223 |
|
224 <dt><i>on</i></dt> |
|
225 <dd> |
|
226 toggle state (boolean) (ignored) |
|
227 </dd> |
|
228 </dl> |
|
229 <a NAME="MessageBoxWizardDialog.on_rAbout_toggled" ID="MessageBoxWizardDialog.on_rAbout_toggled"></a> |
|
230 <h4>MessageBoxWizardDialog.on_rAbout_toggled</h4> |
|
231 <b>on_rAbout_toggled</b>(<i>on</i>) |
|
232 |
|
233 <p> |
|
234 Private slot to handle the toggled signal of the rAbout radio button. |
|
235 </p> |
|
236 <dl> |
|
237 |
|
238 <dt><i>on</i></dt> |
|
239 <dd> |
|
240 toggle state (boolean) (ignored) |
|
241 </dd> |
|
242 </dl> |
|
243 <div align="right"><a href="#top">Up</a></div> |
|
244 <hr /> |
|
245 </body></html> |