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