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