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