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