|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.WizardPlugins.MessageBoxWizard.MessageBoxWizardDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.WizardPlugins.MessageBoxWizard.MessageBoxWizardDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the message box wizard dialog. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#MessageBoxWizardDialog">MessageBoxWizardDialog</a></td> |
|
25 <td>Class implementing the message box wizard dialog.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="MessageBoxWizardDialog" ID="MessageBoxWizardDialog"></a> |
|
36 <h2>MessageBoxWizardDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the message box wizard dialog. |
|
40 </p> |
|
41 <p> |
|
42 It displays a dialog for entering the parameters |
|
43 for the QMessageBox code generator. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 QDialog, Ui_MessageBoxWizardDialog |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#MessageBoxWizardDialog.__init__">MessageBoxWizardDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#MessageBoxWizardDialog.__enabledGroups">__enabledGroups</a></td> |
|
67 <td>Private method to enable/disable some group boxes.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#MessageBoxWizardDialog.__getButtonCode">__getButtonCode</a></td> |
|
71 <td>Private method to generate the button code.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#MessageBoxWizardDialog.__testSelectedOptions">__testSelectedOptions</a></td> |
|
75 <td>Private method to test the selected options.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#MessageBoxWizardDialog.getCode">getCode</a></td> |
|
79 <td>Public method to get the source code.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#MessageBoxWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td> |
|
83 <td>Private method to test the selected options.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#MessageBoxWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
87 <td>Private slot called by a button of the button box clicked.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#MessageBoxWizardDialog.on_rAboutQt_toggled">on_rAboutQt_toggled</a></td> |
|
91 <td>Private slot to handle the toggled signal of the rAboutQt radio button.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#MessageBoxWizardDialog.on_rAbout_toggled">on_rAbout_toggled</a></td> |
|
95 <td>Private slot to handle the toggled signal of the rAbout radio button.</td> |
|
96 </tr> |
|
97 </table> |
|
98 <h3>Static Methods</h3> |
|
99 |
|
100 <table> |
|
101 <tr><td>None</td></tr> |
|
102 </table> |
|
103 |
|
104 <a NAME="MessageBoxWizardDialog.__init__" ID="MessageBoxWizardDialog.__init__"></a> |
|
105 <h4>MessageBoxWizardDialog (Constructor)</h4> |
|
106 <b>MessageBoxWizardDialog</b>(<i>parent=None</i>) |
|
107 |
|
108 <p> |
|
109 Constructor |
|
110 </p> |
|
111 <dl> |
|
112 |
|
113 <dt><i>parent</i></dt> |
|
114 <dd> |
|
115 parent widget (QWidget) |
|
116 </dd> |
|
117 </dl> |
|
118 <a NAME="MessageBoxWizardDialog.__enabledGroups" ID="MessageBoxWizardDialog.__enabledGroups"></a> |
|
119 <h4>MessageBoxWizardDialog.__enabledGroups</h4> |
|
120 <b>__enabledGroups</b>(<i></i>) |
|
121 |
|
122 <p> |
|
123 Private method to enable/disable some group boxes. |
|
124 </p> |
|
125 <a NAME="MessageBoxWizardDialog.__getButtonCode" ID="MessageBoxWizardDialog.__getButtonCode"></a> |
|
126 <h4>MessageBoxWizardDialog.__getButtonCode</h4> |
|
127 <b>__getButtonCode</b>(<i>istring, indString</i>) |
|
128 |
|
129 <p> |
|
130 Private method to generate the button code. |
|
131 </p> |
|
132 <dl> |
|
133 |
|
134 <dt><i>istring</i></dt> |
|
135 <dd> |
|
136 indentation string (string) |
|
137 </dd> |
|
138 <dt><i>indString</i></dt> |
|
139 <dd> |
|
140 string used for indentation (space or tab) (string) |
|
141 </dd> |
|
142 </dl> |
|
143 <dl> |
|
144 <dt>Return:</dt> |
|
145 <dd> |
|
146 the button code (string) |
|
147 </dd> |
|
148 </dl> |
|
149 <a NAME="MessageBoxWizardDialog.__testSelectedOptions" ID="MessageBoxWizardDialog.__testSelectedOptions"></a> |
|
150 <h4>MessageBoxWizardDialog.__testSelectedOptions</h4> |
|
151 <b>__testSelectedOptions</b>(<i></i>) |
|
152 |
|
153 <p> |
|
154 Private method to test the selected options. |
|
155 </p> |
|
156 <a NAME="MessageBoxWizardDialog.getCode" ID="MessageBoxWizardDialog.getCode"></a> |
|
157 <h4>MessageBoxWizardDialog.getCode</h4> |
|
158 <b>getCode</b>(<i>indLevel, indString</i>) |
|
159 |
|
160 <p> |
|
161 Public method to get the source code. |
|
162 </p> |
|
163 <dl> |
|
164 |
|
165 <dt><i>indLevel</i></dt> |
|
166 <dd> |
|
167 indentation level (int) |
|
168 </dd> |
|
169 <dt><i>indString</i></dt> |
|
170 <dd> |
|
171 string used for indentation (space or tab) (string) |
|
172 </dd> |
|
173 </dl> |
|
174 <dl> |
|
175 <dt>Return:</dt> |
|
176 <dd> |
|
177 generated code (string) |
|
178 </dd> |
|
179 </dl> |
|
180 <a NAME="MessageBoxWizardDialog.on_bTest_clicked" ID="MessageBoxWizardDialog.on_bTest_clicked"></a> |
|
181 <h4>MessageBoxWizardDialog.on_bTest_clicked</h4> |
|
182 <b>on_bTest_clicked</b>(<i></i>) |
|
183 |
|
184 <p> |
|
185 Private method to test the selected options. |
|
186 </p> |
|
187 <a NAME="MessageBoxWizardDialog.on_buttonBox_clicked" ID="MessageBoxWizardDialog.on_buttonBox_clicked"></a> |
|
188 <h4>MessageBoxWizardDialog.on_buttonBox_clicked</h4> |
|
189 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
190 |
|
191 <p> |
|
192 Private slot called by a button of the button box clicked. |
|
193 </p> |
|
194 <dl> |
|
195 |
|
196 <dt><i>button</i></dt> |
|
197 <dd> |
|
198 button that was clicked (QAbstractButton) |
|
199 </dd> |
|
200 </dl> |
|
201 <a NAME="MessageBoxWizardDialog.on_rAboutQt_toggled" ID="MessageBoxWizardDialog.on_rAboutQt_toggled"></a> |
|
202 <h4>MessageBoxWizardDialog.on_rAboutQt_toggled</h4> |
|
203 <b>on_rAboutQt_toggled</b>(<i>on</i>) |
|
204 |
|
205 <p> |
|
206 Private slot to handle the toggled signal of the rAboutQt radio button. |
|
207 </p> |
|
208 <dl> |
|
209 |
|
210 <dt><i>on</i></dt> |
|
211 <dd> |
|
212 toggle state (boolean) (ignored) |
|
213 </dd> |
|
214 </dl> |
|
215 <a NAME="MessageBoxWizardDialog.on_rAbout_toggled" ID="MessageBoxWizardDialog.on_rAbout_toggled"></a> |
|
216 <h4>MessageBoxWizardDialog.on_rAbout_toggled</h4> |
|
217 <b>on_rAbout_toggled</b>(<i>on</i>) |
|
218 |
|
219 <p> |
|
220 Private slot to handle the toggled signal of the rAbout 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 <div align="right"><a href="#top">Up</a></div> |
|
230 <hr /> |
|
231 </body></html> |