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