|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.PluginVirtualenvInterface</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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.PluginVirtualenvInterface</h1> |
|
23 <p> |
|
24 Module implementing the virtualenv interface plug-in. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <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>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#VirtualenvInterfacePlugin">VirtualenvInterfacePlugin</a></td> |
|
34 <td>Class implementing the virtualenv wizard plug-in.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="VirtualenvInterfacePlugin" ID="VirtualenvInterfacePlugin"></a> |
|
43 <h2>VirtualenvInterfacePlugin</h2> |
|
44 <p> |
|
45 Class implementing the virtualenv wizard plug-in. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QObject |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#VirtualenvInterfacePlugin.__init__">VirtualenvInterfacePlugin</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#VirtualenvInterfacePlugin.__handle">__handle</a></td> |
|
64 <td>Private method to handle the creation of a virtual environment.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#VirtualenvInterfacePlugin.__initAction">__initAction</a></td> |
|
67 <td>Private method to initialize the action.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#VirtualenvInterfacePlugin.activate">activate</a></td> |
|
70 <td>Public method to activate this plug-in.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#VirtualenvInterfacePlugin.deactivate">deactivate</a></td> |
|
73 <td>Public method to deactivate this plug-in.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 <a NAME="VirtualenvInterfacePlugin.__init__" ID="VirtualenvInterfacePlugin.__init__"></a> |
|
81 <h4>VirtualenvInterfacePlugin (Constructor)</h4> |
|
82 <b>VirtualenvInterfacePlugin</b>(<i>ui</i>) |
|
83 <p> |
|
84 Constructor |
|
85 </p><dl> |
|
86 <dt><i>ui</i></dt> |
|
87 <dd> |
|
88 reference to the user interface object (UI.UserInterface) |
|
89 </dd> |
|
90 </dl><a NAME="VirtualenvInterfacePlugin.__handle" ID="VirtualenvInterfacePlugin.__handle"></a> |
|
91 <h4>VirtualenvInterfacePlugin.__handle</h4> |
|
92 <b>__handle</b>(<i></i>) |
|
93 <p> |
|
94 Private method to handle the creation of a virtual environment. |
|
95 </p><a NAME="VirtualenvInterfacePlugin.__initAction" ID="VirtualenvInterfacePlugin.__initAction"></a> |
|
96 <h4>VirtualenvInterfacePlugin.__initAction</h4> |
|
97 <b>__initAction</b>(<i></i>) |
|
98 <p> |
|
99 Private method to initialize the action. |
|
100 </p><a NAME="VirtualenvInterfacePlugin.activate" ID="VirtualenvInterfacePlugin.activate"></a> |
|
101 <h4>VirtualenvInterfacePlugin.activate</h4> |
|
102 <b>activate</b>(<i></i>) |
|
103 <p> |
|
104 Public method to activate this plug-in. |
|
105 </p><dl> |
|
106 <dt>Returns:</dt> |
|
107 <dd> |
|
108 tuple of None and activation status (boolean) |
|
109 </dd> |
|
110 </dl><a NAME="VirtualenvInterfacePlugin.deactivate" ID="VirtualenvInterfacePlugin.deactivate"></a> |
|
111 <h4>VirtualenvInterfacePlugin.deactivate</h4> |
|
112 <b>deactivate</b>(<i></i>) |
|
113 <p> |
|
114 Public method to deactivate this plug-in. |
|
115 </p> |
|
116 <div align="right"><a href="#top">Up</a></div> |
|
117 <hr /> |
|
118 </body></html> |