|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.PluginWizardSetup</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.PluginWizardSetup</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the setup.py wizard plug-in. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <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>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#SetupWizard">SetupWizard</a></td> |
|
39 <td>Class implementing the setup.py wizard plug-in.</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="SetupWizard" ID="SetupWizard"></a> |
|
50 <h2>SetupWizard</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the setup.py wizard plug-in. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QObject |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#SetupWizard.__init__">SetupWizard</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#SetupWizard.__callForm">__callForm</a></td> |
|
77 <td>Private method to display a dialog and get the code.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#SetupWizard.__handle">__handle</a></td> |
|
81 <td>Private method to handle the wizards action.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#SetupWizard.__initAction">__initAction</a></td> |
|
85 <td>Private method to initialize the action.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#SetupWizard.__initMenu">__initMenu</a></td> |
|
89 <td>Private method to add the actions to the right menu.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#SetupWizard.__initialize">__initialize</a></td> |
|
93 <td>Private slot to (re)initialize the plug-in.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#SetupWizard.activate">activate</a></td> |
|
97 <td>Public method to activate this plug-in.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#SetupWizard.deactivate">deactivate</a></td> |
|
101 <td>Public method to deactivate this plug-in.</td> |
|
102 </tr> |
|
103 </table> |
|
104 <h3>Static Methods</h3> |
|
105 |
|
106 <table> |
|
107 <tr><td>None</td></tr> |
|
108 </table> |
|
109 |
|
110 <a NAME="SetupWizard.__init__" ID="SetupWizard.__init__"></a> |
|
111 <h4>SetupWizard (Constructor)</h4> |
|
112 <b>SetupWizard</b>(<i>ui</i>) |
|
113 |
|
114 <p> |
|
115 Constructor |
|
116 </p> |
|
117 <dl> |
|
118 |
|
119 <dt><i>ui</i></dt> |
|
120 <dd> |
|
121 reference to the user interface object (UI.UserInterface) |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="SetupWizard.__callForm" ID="SetupWizard.__callForm"></a> |
|
125 <h4>SetupWizard.__callForm</h4> |
|
126 <b>__callForm</b>(<i>editor</i>) |
|
127 |
|
128 <p> |
|
129 Private method to display a dialog and get the code. |
|
130 </p> |
|
131 <dl> |
|
132 |
|
133 <dt><i>editor</i></dt> |
|
134 <dd> |
|
135 reference to the current editor |
|
136 </dd> |
|
137 </dl> |
|
138 <dl> |
|
139 <dt>Return:</dt> |
|
140 <dd> |
|
141 the generated code (string) |
|
142 </dd> |
|
143 </dl> |
|
144 <a NAME="SetupWizard.__handle" ID="SetupWizard.__handle"></a> |
|
145 <h4>SetupWizard.__handle</h4> |
|
146 <b>__handle</b>(<i></i>) |
|
147 |
|
148 <p> |
|
149 Private method to handle the wizards action. |
|
150 </p> |
|
151 <a NAME="SetupWizard.__initAction" ID="SetupWizard.__initAction"></a> |
|
152 <h4>SetupWizard.__initAction</h4> |
|
153 <b>__initAction</b>(<i></i>) |
|
154 |
|
155 <p> |
|
156 Private method to initialize the action. |
|
157 </p> |
|
158 <a NAME="SetupWizard.__initMenu" ID="SetupWizard.__initMenu"></a> |
|
159 <h4>SetupWizard.__initMenu</h4> |
|
160 <b>__initMenu</b>(<i></i>) |
|
161 |
|
162 <p> |
|
163 Private method to add the actions to the right menu. |
|
164 </p> |
|
165 <a NAME="SetupWizard.__initialize" ID="SetupWizard.__initialize"></a> |
|
166 <h4>SetupWizard.__initialize</h4> |
|
167 <b>__initialize</b>(<i></i>) |
|
168 |
|
169 <p> |
|
170 Private slot to (re)initialize the plug-in. |
|
171 </p> |
|
172 <a NAME="SetupWizard.activate" ID="SetupWizard.activate"></a> |
|
173 <h4>SetupWizard.activate</h4> |
|
174 <b>activate</b>(<i></i>) |
|
175 |
|
176 <p> |
|
177 Public method to activate this plug-in. |
|
178 </p> |
|
179 <dl> |
|
180 <dt>Return:</dt> |
|
181 <dd> |
|
182 tuple of None and activation status (boolean) |
|
183 </dd> |
|
184 </dl> |
|
185 <a NAME="SetupWizard.deactivate" ID="SetupWizard.deactivate"></a> |
|
186 <h4>SetupWizard.deactivate</h4> |
|
187 <b>deactivate</b>(<i></i>) |
|
188 |
|
189 <p> |
|
190 Public method to deactivate this plug-in. |
|
191 </p> |
|
192 <div align="right"><a href="#top">Up</a></div> |
|
193 <hr /> |
|
194 </body></html> |