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