|
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.ColorDialogWizard.ColorDialogWizardDialog</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.ColorDialogWizard.ColorDialogWizardDialog</h1> |
|
24 <p> |
|
25 Module implementing the color dialog 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="#ColorDialogWizardDialog">ColorDialogWizardDialog</a></td> |
|
35 <td>Class implementing the color dialog 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="ColorDialogWizardDialog" ID="ColorDialogWizardDialog"></a> |
|
44 <h2>ColorDialogWizardDialog</h2> |
|
45 <p> |
|
46 Class implementing the color dialog wizard dialog. |
|
47 </p><p> |
|
48 It displays a dialog for entering the parameters |
|
49 for the QColorDialog code generator. |
|
50 </p> |
|
51 <h3>Derived from</h3> |
|
52 QDialog, Ui_ColorDialogWizardDialog |
|
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="#ColorDialogWizardDialog.__init__">ColorDialogWizardDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#ColorDialogWizardDialog.getCode">getCode</a></td> |
|
64 <td>Public method to get the source code.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#ColorDialogWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td> |
|
67 <td>Private method to test the selected options.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#ColorDialogWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
70 <td>Private slot called by a button of the button box clicked.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#ColorDialogWizardDialog.on_eColor_editTextChanged">on_eColor_editTextChanged</a></td> |
|
73 <td>Private slot to handle the editTextChanged signal of eColor.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#ColorDialogWizardDialog.on_eRGB_textChanged">on_eRGB_textChanged</a></td> |
|
76 <td>Private slot to handle the textChanged signal of eRGB.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#ColorDialogWizardDialog.on_rQt45_toggled">on_rQt45_toggled</a></td> |
|
79 <td>Private slot to handle the toggled signal of the rQt45 radio button.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <a NAME="ColorDialogWizardDialog.__init__" ID="ColorDialogWizardDialog.__init__"></a> |
|
83 <h4>ColorDialogWizardDialog (Constructor)</h4> |
|
84 <b>ColorDialogWizardDialog</b>(<i>parent=None</i>) |
|
85 <p> |
|
86 Constructor |
|
87 </p><dl> |
|
88 <dt><i>parent</i></dt> |
|
89 <dd> |
|
90 parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="ColorDialogWizardDialog.getCode" ID="ColorDialogWizardDialog.getCode"></a> |
|
93 <h4>ColorDialogWizardDialog.getCode</h4> |
|
94 <b>getCode</b>(<i>indLevel, indString</i>) |
|
95 <p> |
|
96 Public method to get the source code. |
|
97 </p><dl> |
|
98 <dt><i>indLevel</i></dt> |
|
99 <dd> |
|
100 indentation level (int) |
|
101 </dd><dt><i>indString</i></dt> |
|
102 <dd> |
|
103 string used for indentation (space or tab) (string) |
|
104 </dd> |
|
105 </dl><dl> |
|
106 <dt>Returns:</dt> |
|
107 <dd> |
|
108 generated code (string) |
|
109 </dd> |
|
110 </dl><a NAME="ColorDialogWizardDialog.on_bTest_clicked" ID="ColorDialogWizardDialog.on_bTest_clicked"></a> |
|
111 <h4>ColorDialogWizardDialog.on_bTest_clicked</h4> |
|
112 <b>on_bTest_clicked</b>(<i></i>) |
|
113 <p> |
|
114 Private method to test the selected options. |
|
115 </p><a NAME="ColorDialogWizardDialog.on_buttonBox_clicked" ID="ColorDialogWizardDialog.on_buttonBox_clicked"></a> |
|
116 <h4>ColorDialogWizardDialog.on_buttonBox_clicked</h4> |
|
117 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
118 <p> |
|
119 Private slot called by a button of the button box clicked. |
|
120 </p><dl> |
|
121 <dt><i>button</i></dt> |
|
122 <dd> |
|
123 button that was clicked (QAbstractButton) |
|
124 </dd> |
|
125 </dl><a NAME="ColorDialogWizardDialog.on_eColor_editTextChanged" ID="ColorDialogWizardDialog.on_eColor_editTextChanged"></a> |
|
126 <h4>ColorDialogWizardDialog.on_eColor_editTextChanged</h4> |
|
127 <b>on_eColor_editTextChanged</b>(<i>text</i>) |
|
128 <p> |
|
129 Private slot to handle the editTextChanged signal of eColor. |
|
130 </p><dl> |
|
131 <dt><i>text</i></dt> |
|
132 <dd> |
|
133 the new text (string) |
|
134 </dd> |
|
135 </dl><a NAME="ColorDialogWizardDialog.on_eRGB_textChanged" ID="ColorDialogWizardDialog.on_eRGB_textChanged"></a> |
|
136 <h4>ColorDialogWizardDialog.on_eRGB_textChanged</h4> |
|
137 <b>on_eRGB_textChanged</b>(<i>text</i>) |
|
138 <p> |
|
139 Private slot to handle the textChanged signal of eRGB. |
|
140 </p><dl> |
|
141 <dt><i>text</i></dt> |
|
142 <dd> |
|
143 the new text (string) |
|
144 </dd> |
|
145 </dl><a NAME="ColorDialogWizardDialog.on_rQt45_toggled" ID="ColorDialogWizardDialog.on_rQt45_toggled"></a> |
|
146 <h4>ColorDialogWizardDialog.on_rQt45_toggled</h4> |
|
147 <b>on_rQt45_toggled</b>(<i>on</i>) |
|
148 <p> |
|
149 Private slot to handle the toggled signal of the rQt45 radio button. |
|
150 </p><dl> |
|
151 <dt><i>on</i></dt> |
|
152 <dd> |
|
153 toggle state (boolean) (ignored) |
|
154 </dd> |
|
155 </dl> |
|
156 <div align="right"><a href="#top">Up</a></div> |
|
157 <hr /> |
|
158 </body></html> |