|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.PluginWizardQColorDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.PluginWizardQColorDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the QColorDialog wizard plugin. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#ColorDialogWizard">ColorDialogWizard</a></td> |
|
25 <td>Class implementing the QColorDialog wizard plugin.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="ColorDialogWizard" ID="ColorDialogWizard"></a> |
|
36 <h2>ColorDialogWizard</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the QColorDialog wizard plugin. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QObject |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#ColorDialogWizard.__init__">ColorDialogWizard</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#ColorDialogWizard.__callForm">__callForm</a></td> |
|
63 <td>Private method to display a dialog and get the code.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#ColorDialogWizard.__handle">__handle</a></td> |
|
67 <td>Private method to handle the wizards action.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#ColorDialogWizard.__initAction">__initAction</a></td> |
|
71 <td>Private method to initialize the action.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#ColorDialogWizard.__initMenu">__initMenu</a></td> |
|
75 <td>Private method to add the actions to the right menu.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#ColorDialogWizard.activate">activate</a></td> |
|
79 <td>Public method to activate this plugin.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#ColorDialogWizard.deactivate">deactivate</a></td> |
|
83 <td>Public method to deactivate this plugin.</td> |
|
84 </tr> |
|
85 </table> |
|
86 <h3>Static Methods</h3> |
|
87 |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 |
|
92 <a NAME="ColorDialogWizard.__init__" ID="ColorDialogWizard.__init__"></a> |
|
93 <h4>ColorDialogWizard (Constructor)</h4> |
|
94 <b>ColorDialogWizard</b>(<i>ui</i>) |
|
95 |
|
96 <p> |
|
97 Constructor |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>ui</i></dt> |
|
102 <dd> |
|
103 reference to the user interface object (UI.UserInterface) |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="ColorDialogWizard.__callForm" ID="ColorDialogWizard.__callForm"></a> |
|
107 <h4>ColorDialogWizard.__callForm</h4> |
|
108 <b>__callForm</b>(<i>editor</i>) |
|
109 |
|
110 <p> |
|
111 Private method to display a dialog and get the code. |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>editor</i></dt> |
|
116 <dd> |
|
117 reference to the current editor |
|
118 </dd> |
|
119 </dl> |
|
120 <dl> |
|
121 <dt>Return:</dt> |
|
122 <dd> |
|
123 the generated code (string) and a success flag (boolean) |
|
124 </dd> |
|
125 </dl> |
|
126 <a NAME="ColorDialogWizard.__handle" ID="ColorDialogWizard.__handle"></a> |
|
127 <h4>ColorDialogWizard.__handle</h4> |
|
128 <b>__handle</b>(<i></i>) |
|
129 |
|
130 <p> |
|
131 Private method to handle the wizards action. |
|
132 </p> |
|
133 <a NAME="ColorDialogWizard.__initAction" ID="ColorDialogWizard.__initAction"></a> |
|
134 <h4>ColorDialogWizard.__initAction</h4> |
|
135 <b>__initAction</b>(<i></i>) |
|
136 |
|
137 <p> |
|
138 Private method to initialize the action. |
|
139 </p> |
|
140 <a NAME="ColorDialogWizard.__initMenu" ID="ColorDialogWizard.__initMenu"></a> |
|
141 <h4>ColorDialogWizard.__initMenu</h4> |
|
142 <b>__initMenu</b>(<i></i>) |
|
143 |
|
144 <p> |
|
145 Private method to add the actions to the right menu. |
|
146 </p> |
|
147 <a NAME="ColorDialogWizard.activate" ID="ColorDialogWizard.activate"></a> |
|
148 <h4>ColorDialogWizard.activate</h4> |
|
149 <b>activate</b>(<i></i>) |
|
150 |
|
151 <p> |
|
152 Public method to activate this plugin. |
|
153 </p> |
|
154 <dl> |
|
155 <dt>Return:</dt> |
|
156 <dd> |
|
157 tuple of None and activation status (boolean) |
|
158 </dd> |
|
159 </dl> |
|
160 <a NAME="ColorDialogWizard.deactivate" ID="ColorDialogWizard.deactivate"></a> |
|
161 <h4>ColorDialogWizard.deactivate</h4> |
|
162 <b>deactivate</b>(<i></i>) |
|
163 |
|
164 <p> |
|
165 Public method to deactivate this plugin. |
|
166 </p> |
|
167 <div align="right"><a href="#top">Up</a></div> |
|
168 <hr /> |
|
169 </body></html> |