Documentation/Source/eric4.Plugins.PluginEricapi.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
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.PluginEricapi</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.PluginEricapi</h1>
24 <p>
25 Module implementing the Ericapi plugin.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <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>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#EricapiPlugin">EricapiPlugin</a></td>
35 <td>Class implementing the Ericapi plugin.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr>
41 <td><a href="#exeDisplayData">exeDisplayData</a></td>
42 <td>Public method to support the display of some executable info.</td>
43 </tr>
44 </table>
45 <hr /><hr />
46 <a NAME="EricapiPlugin" ID="EricapiPlugin"></a>
47 <h2>EricapiPlugin</h2>
48 <p>
49 Class implementing the Ericapi plugin.
50 </p>
51 <h3>Derived from</h3>
52 QObject
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="#EricapiPlugin.__init__">EricapiPlugin</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#EricapiPlugin.__doEricapi">__doEricapi</a></td>
64 <td>Private slot to perform the eric4-api api generation.</td>
65 </tr><tr>
66 <td><a href="#EricapiPlugin.__initialize">__initialize</a></td>
67 <td>Private slot to (re)initialize the plugin.</td>
68 </tr><tr>
69 <td><a href="#EricapiPlugin.__projectShowMenu">__projectShowMenu</a></td>
70 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td>
71 </tr><tr>
72 <td><a href="#EricapiPlugin.activate">activate</a></td>
73 <td>Public method to activate this plugin.</td>
74 </tr><tr>
75 <td><a href="#EricapiPlugin.deactivate">deactivate</a></td>
76 <td>Public method to deactivate this plugin.</td>
77 </tr>
78 </table>
79 <a NAME="EricapiPlugin.__init__" ID="EricapiPlugin.__init__"></a>
80 <h4>EricapiPlugin (Constructor)</h4>
81 <b>EricapiPlugin</b>(<i>ui</i>)
82 <p>
83 Constructor
84 </p><dl>
85 <dt><i>ui</i></dt>
86 <dd>
87 reference to the user interface object (UI.UserInterface)
88 </dd>
89 </dl><a NAME="EricapiPlugin.__doEricapi" ID="EricapiPlugin.__doEricapi"></a>
90 <h4>EricapiPlugin.__doEricapi</h4>
91 <b>__doEricapi</b>(<i></i>)
92 <p>
93 Private slot to perform the eric4-api api generation.
94 </p><a NAME="EricapiPlugin.__initialize" ID="EricapiPlugin.__initialize"></a>
95 <h4>EricapiPlugin.__initialize</h4>
96 <b>__initialize</b>(<i></i>)
97 <p>
98 Private slot to (re)initialize the plugin.
99 </p><a NAME="EricapiPlugin.__projectShowMenu" ID="EricapiPlugin.__projectShowMenu"></a>
100 <h4>EricapiPlugin.__projectShowMenu</h4>
101 <b>__projectShowMenu</b>(<i>menuName, menu</i>)
102 <p>
103 Private slot called, when the the project menu or a submenu is
104 about to be shown.
105 </p><dl>
106 <dt><i>menuName</i></dt>
107 <dd>
108 name of the menu to be shown (string)
109 </dd><dt><i>menu</i></dt>
110 <dd>
111 reference to the menu (QMenu)
112 </dd>
113 </dl><a NAME="EricapiPlugin.activate" ID="EricapiPlugin.activate"></a>
114 <h4>EricapiPlugin.activate</h4>
115 <b>activate</b>(<i></i>)
116 <p>
117 Public method to activate this plugin.
118 </p><dl>
119 <dt>Returns:</dt>
120 <dd>
121 tuple of None and activation status (boolean)
122 </dd>
123 </dl><a NAME="EricapiPlugin.deactivate" ID="EricapiPlugin.deactivate"></a>
124 <h4>EricapiPlugin.deactivate</h4>
125 <b>deactivate</b>(<i></i>)
126 <p>
127 Public method to deactivate this plugin.
128 </p>
129 <div align="right"><a href="#top">Up</a></div>
130 <hr /><hr />
131 <a NAME="exeDisplayData" ID="exeDisplayData"></a>
132 <h2>exeDisplayData</h2>
133 <b>exeDisplayData</b>(<i></i>)
134 <p>
135 Public method to support the display of some executable info.
136 </p><dl>
137 <dt>Returns:</dt>
138 <dd>
139 dictionary containing the data to query the presence of
140 the executable
141 </dd>
142 </dl>
143 <div align="right"><a href="#top">Up</a></div>
144 <hr />
145 </body></html>

eric ide

mercurial