20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.Plugins.WizardPlugins.MessageBoxWizard.MessageBoxWizardDialog</h1> |
23 <h1>eric5.Plugins.WizardPlugins.MessageBoxWizard.MessageBoxWizardDialog</h1> |
24 <p> |
24 <p> |
25 Module implementing the message box wizard dialog. |
25 Module implementing the message box wizard dialog. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#MessageBoxWizardDialog">MessageBoxWizardDialog</a></td> |
34 <td><a href="#MessageBoxWizardDialog">MessageBoxWizardDialog</a></td> |
35 <td>Class implementing the message box wizard dialog.</td> |
35 <td>Class implementing the message box wizard dialog.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="MessageBoxWizardDialog" ID="MessageBoxWizardDialog"></a> |
43 <a NAME="MessageBoxWizardDialog" ID="MessageBoxWizardDialog"></a> |
44 <h2>MessageBoxWizardDialog</h2> |
44 <h2>MessageBoxWizardDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing the message box wizard dialog. |
46 Class implementing the message box wizard dialog. |
47 </p><p> |
47 </p><p> |
48 It displays a dialog for entering the parameters |
48 It displays a dialog for entering the parameters |
49 for the QMessageBox code generator. |
49 for the QMessageBox code generator. |
50 </p> |
50 </p> |
51 <h3>Derived from</h3> |
51 <h3>Derived from</h3> |
52 QDialog, Ui_MessageBoxWizardDialog |
52 QDialog, Ui_MessageBoxWizardDialog |
53 <h3>Class Attributes</h3> |
53 <h3>Class Attributes</h3> |
54 <table> |
54 <table> |
56 </table> |
56 </table> |
57 <h3>Methods</h3> |
57 <h3>Methods</h3> |
58 <table> |
58 <table> |
59 <tr> |
59 <tr> |
60 <td><a href="#MessageBoxWizardDialog.__init__">MessageBoxWizardDialog</a></td> |
60 <td><a href="#MessageBoxWizardDialog.__init__">MessageBoxWizardDialog</a></td> |
61 <td>Constructor</td> |
61 <td>Constructor</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#MessageBoxWizardDialog.__enabledGroups">__enabledGroups</a></td> |
63 <td><a href="#MessageBoxWizardDialog.__enabledGroups">__enabledGroups</a></td> |
64 <td>Private method to enable/disable some group boxes.</td> |
64 <td>Private method to enable/disable some group boxes.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#MessageBoxWizardDialog.__getQt42ButtonCode">__getQt42ButtonCode</a></td> |
66 <td><a href="#MessageBoxWizardDialog.__getQt42ButtonCode">__getQt42ButtonCode</a></td> |
67 <td>Private method to generate the button code for Qt 4.2.0.</td> |
67 <td>Private method to generate the button code for Qt 4.2.0.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#MessageBoxWizardDialog.__testQt42">__testQt42</a></td> |
69 <td><a href="#MessageBoxWizardDialog.__testQt42">__testQt42</a></td> |
70 <td>Private method to test the selected options for Qt 4.2.0.</td> |
70 <td>Private method to test the selected options for Qt 4.2.0.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#MessageBoxWizardDialog.getCode">getCode</a></td> |
72 <td><a href="#MessageBoxWizardDialog.getCode">getCode</a></td> |
73 <td>Public method to get the source code.</td> |
73 <td>Public method to get the source code.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#MessageBoxWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td> |
75 <td><a href="#MessageBoxWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td> |
76 <td>Private method to test the selected options.</td> |
76 <td>Private method to test the selected options.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#MessageBoxWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
78 <td><a href="#MessageBoxWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
79 <td>Private slot called by a button of the button box clicked.</td> |
79 <td>Private slot called by a button of the button box clicked.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#MessageBoxWizardDialog.on_rAboutQt_toggled">on_rAboutQt_toggled</a></td> |
81 <td><a href="#MessageBoxWizardDialog.on_rAboutQt_toggled">on_rAboutQt_toggled</a></td> |
82 <td>Private slot to handle the toggled signal of the rAboutQt radio button.</td> |
82 <td>Private slot to handle the toggled signal of the rAboutQt radio button.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#MessageBoxWizardDialog.on_rAbout_toggled">on_rAbout_toggled</a></td> |
84 <td><a href="#MessageBoxWizardDialog.on_rAbout_toggled">on_rAbout_toggled</a></td> |
85 <td>Private slot to handle the toggled signal of the rAbout radio button.</td> |
85 <td>Private slot to handle the toggled signal of the rAbout radio button.</td> |
86 </tr> |
86 </tr> |
87 </table> |
87 </table> |
88 <a NAME="MessageBoxWizardDialog.__init__" ID="MessageBoxWizardDialog.__init__"></a> |
88 <a NAME="MessageBoxWizardDialog.__init__" ID="MessageBoxWizardDialog.__init__"></a> |
89 <h4>MessageBoxWizardDialog (Constructor)</h4> |
89 <h4>MessageBoxWizardDialog (Constructor)</h4> |
90 <b>MessageBoxWizardDialog</b>(<i>parent=None</i>) |
90 <b>MessageBoxWizardDialog</b>(<i>parent=None</i>) |
91 <p> |
91 <p> |
92 Constructor |
92 Constructor |
93 </p><dl> |
93 </p><dl> |
94 <dt><i>parent</i></dt> |
94 <dt><i>parent</i></dt> |
95 <dd> |
95 <dd> |
96 parent widget (QWidget) |
96 parent widget (QWidget) |
97 </dd> |
97 </dd> |
98 </dl><a NAME="MessageBoxWizardDialog.__enabledGroups" ID="MessageBoxWizardDialog.__enabledGroups"></a> |
98 </dl><a NAME="MessageBoxWizardDialog.__enabledGroups" ID="MessageBoxWizardDialog.__enabledGroups"></a> |
99 <h4>MessageBoxWizardDialog.__enabledGroups</h4> |
99 <h4>MessageBoxWizardDialog.__enabledGroups</h4> |
100 <b>__enabledGroups</b>(<i></i>) |
100 <b>__enabledGroups</b>(<i></i>) |
101 <p> |
101 <p> |
102 Private method to enable/disable some group boxes. |
102 Private method to enable/disable some group boxes. |
103 </p><a NAME="MessageBoxWizardDialog.__getQt42ButtonCode" ID="MessageBoxWizardDialog.__getQt42ButtonCode"></a> |
103 </p><a NAME="MessageBoxWizardDialog.__getQt42ButtonCode" ID="MessageBoxWizardDialog.__getQt42ButtonCode"></a> |
104 <h4>MessageBoxWizardDialog.__getQt42ButtonCode</h4> |
104 <h4>MessageBoxWizardDialog.__getQt42ButtonCode</h4> |
105 <b>__getQt42ButtonCode</b>(<i>istring, indString</i>) |
105 <b>__getQt42ButtonCode</b>(<i>istring, indString</i>) |
106 <p> |
106 <p> |
107 Private method to generate the button code for Qt 4.2.0. |
107 Private method to generate the button code for Qt 4.2.0. |
108 </p><dl> |
108 </p><dl> |
109 <dt><i>istring</i></dt> |
109 <dt><i>istring</i></dt> |
110 <dd> |
110 <dd> |
111 indentation string (string) |
111 indentation string (string) |
112 </dd><dt><i>indString</i></dt> |
112 </dd><dt><i>indString</i></dt> |
113 <dd> |
113 <dd> |
114 string used for indentation (space or tab) (string) |
114 string used for indentation (space or tab) (string) |
115 </dd> |
115 </dd> |
116 </dl><dl> |
116 </dl><dl> |
117 <dt>Returns:</dt> |
117 <dt>Returns:</dt> |
118 <dd> |
118 <dd> |
119 the button code (string) |
119 the button code (string) |
120 </dd> |
120 </dd> |
121 </dl><a NAME="MessageBoxWizardDialog.__testQt42" ID="MessageBoxWizardDialog.__testQt42"></a> |
121 </dl><a NAME="MessageBoxWizardDialog.__testQt42" ID="MessageBoxWizardDialog.__testQt42"></a> |
122 <h4>MessageBoxWizardDialog.__testQt42</h4> |
122 <h4>MessageBoxWizardDialog.__testQt42</h4> |
123 <b>__testQt42</b>(<i></i>) |
123 <b>__testQt42</b>(<i></i>) |
124 <p> |
124 <p> |
125 Private method to test the selected options for Qt 4.2.0. |
125 Private method to test the selected options for Qt 4.2.0. |
126 </p><a NAME="MessageBoxWizardDialog.getCode" ID="MessageBoxWizardDialog.getCode"></a> |
126 </p><a NAME="MessageBoxWizardDialog.getCode" ID="MessageBoxWizardDialog.getCode"></a> |
127 <h4>MessageBoxWizardDialog.getCode</h4> |
127 <h4>MessageBoxWizardDialog.getCode</h4> |
128 <b>getCode</b>(<i>indLevel, indString</i>) |
128 <b>getCode</b>(<i>indLevel, indString</i>) |
129 <p> |
129 <p> |
130 Public method to get the source code. |
130 Public method to get the source code. |
131 </p><dl> |
131 </p><dl> |
132 <dt><i>indLevel</i></dt> |
132 <dt><i>indLevel</i></dt> |
133 <dd> |
133 <dd> |
134 indentation level (int) |
134 indentation level (int) |
135 </dd><dt><i>indString</i></dt> |
135 </dd><dt><i>indString</i></dt> |
136 <dd> |
136 <dd> |
137 string used for indentation (space or tab) (string) |
137 string used for indentation (space or tab) (string) |
138 </dd> |
138 </dd> |
139 </dl><dl> |
139 </dl><dl> |
140 <dt>Returns:</dt> |
140 <dt>Returns:</dt> |
141 <dd> |
141 <dd> |
142 generated code (string) |
142 generated code (string) |
143 </dd> |
143 </dd> |
144 </dl><a NAME="MessageBoxWizardDialog.on_bTest_clicked" ID="MessageBoxWizardDialog.on_bTest_clicked"></a> |
144 </dl><a NAME="MessageBoxWizardDialog.on_bTest_clicked" ID="MessageBoxWizardDialog.on_bTest_clicked"></a> |
145 <h4>MessageBoxWizardDialog.on_bTest_clicked</h4> |
145 <h4>MessageBoxWizardDialog.on_bTest_clicked</h4> |
146 <b>on_bTest_clicked</b>(<i></i>) |
146 <b>on_bTest_clicked</b>(<i></i>) |
147 <p> |
147 <p> |
148 Private method to test the selected options. |
148 Private method to test the selected options. |
149 </p><a NAME="MessageBoxWizardDialog.on_buttonBox_clicked" ID="MessageBoxWizardDialog.on_buttonBox_clicked"></a> |
149 </p><a NAME="MessageBoxWizardDialog.on_buttonBox_clicked" ID="MessageBoxWizardDialog.on_buttonBox_clicked"></a> |
150 <h4>MessageBoxWizardDialog.on_buttonBox_clicked</h4> |
150 <h4>MessageBoxWizardDialog.on_buttonBox_clicked</h4> |
151 <b>on_buttonBox_clicked</b>(<i>button</i>) |
151 <b>on_buttonBox_clicked</b>(<i>button</i>) |
152 <p> |
152 <p> |
153 Private slot called by a button of the button box clicked. |
153 Private slot called by a button of the button box clicked. |
154 </p><dl> |
154 </p><dl> |
155 <dt><i>button</i></dt> |
155 <dt><i>button</i></dt> |
156 <dd> |
156 <dd> |
157 button that was clicked (QAbstractButton) |
157 button that was clicked (QAbstractButton) |
158 </dd> |
158 </dd> |
159 </dl><a NAME="MessageBoxWizardDialog.on_rAboutQt_toggled" ID="MessageBoxWizardDialog.on_rAboutQt_toggled"></a> |
159 </dl><a NAME="MessageBoxWizardDialog.on_rAboutQt_toggled" ID="MessageBoxWizardDialog.on_rAboutQt_toggled"></a> |
160 <h4>MessageBoxWizardDialog.on_rAboutQt_toggled</h4> |
160 <h4>MessageBoxWizardDialog.on_rAboutQt_toggled</h4> |
161 <b>on_rAboutQt_toggled</b>(<i>on</i>) |
161 <b>on_rAboutQt_toggled</b>(<i>on</i>) |
162 <p> |
162 <p> |
163 Private slot to handle the toggled signal of the rAboutQt radio button. |
163 Private slot to handle the toggled signal of the rAboutQt radio button. |
164 </p><dl> |
164 </p><dl> |
165 <dt><i>on</i></dt> |
165 <dt><i>on</i></dt> |
166 <dd> |
166 <dd> |
167 toggle state (boolean) (ignored) |
167 toggle state (boolean) (ignored) |
168 </dd> |
168 </dd> |
169 </dl><a NAME="MessageBoxWizardDialog.on_rAbout_toggled" ID="MessageBoxWizardDialog.on_rAbout_toggled"></a> |
169 </dl><a NAME="MessageBoxWizardDialog.on_rAbout_toggled" ID="MessageBoxWizardDialog.on_rAbout_toggled"></a> |
170 <h4>MessageBoxWizardDialog.on_rAbout_toggled</h4> |
170 <h4>MessageBoxWizardDialog.on_rAbout_toggled</h4> |
171 <b>on_rAbout_toggled</b>(<i>on</i>) |
171 <b>on_rAbout_toggled</b>(<i>on</i>) |
172 <p> |
172 <p> |
173 Private slot to handle the toggled signal of the rAbout radio button. |
173 Private slot to handle the toggled signal of the rAbout radio button. |
174 </p><dl> |
174 </p><dl> |
175 <dt><i>on</i></dt> |
175 <dt><i>on</i></dt> |
176 <dd> |
176 <dd> |
177 toggle state (boolean) (ignored) |
177 toggle state (boolean) (ignored) |
178 </dd> |
178 </dd> |
179 </dl> |
179 </dl> |
180 <div align="right"><a href="#top">Up</a></div> |
180 <div align="right"><a href="#top">Up</a></div> |
181 <hr /> |
181 <hr /> |
182 </body></html> |
182 </body></html> |