eric7/Documentation/Source/eric7.PluginManager.PluginInfoDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.PluginManager.PluginInfoDialog</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.PluginManager.PluginInfoDialog</h1>
24
25 <p>
26 Module implementing the Plugin Info Dialog.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#PluginInfoDialog">PluginInfoDialog</a></td>
39 <td>Class implementing the Plugin Info Dialog.</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="PluginInfoDialog" ID="PluginInfoDialog"></a>
50 <h2>PluginInfoDialog</h2>
51
52 <p>
53 Class implementing the Plugin Info Dialog.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_PluginInfoDialog
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="#PluginInfoDialog.__init__">PluginInfoDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#PluginInfoDialog.__activatePlugin">__activatePlugin</a></td>
77 <td>Private slot to handle the "Deactivate" context menu action.</td>
78 </tr>
79 <tr>
80 <td><a href="#PluginInfoDialog.__createEntry">__createEntry</a></td>
81 <td>Private method to create a list entry based on the provided info.</td>
82 </tr>
83 <tr>
84 <td><a href="#PluginInfoDialog.__deactivatePlugin">__deactivatePlugin</a></td>
85 <td>Private slot to handle the "Activate" context menu action.</td>
86 </tr>
87 <tr>
88 <td><a href="#PluginInfoDialog.__populateList">__populateList</a></td>
89 <td>Private method to (re)populate the list of plugins.</td>
90 </tr>
91 <tr>
92 <td><a href="#PluginInfoDialog.__showContextMenu">__showContextMenu</a></td>
93 <td>Private slot to show the context menu of the listview.</td>
94 </tr>
95 <tr>
96 <td><a href="#PluginInfoDialog.__showDetails">__showDetails</a></td>
97 <td>Private slot to handle the "Show details" context menu action.</td>
98 </tr>
99 <tr>
100 <td><a href="#PluginInfoDialog.on_pluginList_itemActivated">on_pluginList_itemActivated</a></td>
101 <td>Private slot to show details about a plugin.</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="PluginInfoDialog.__init__" ID="PluginInfoDialog.__init__"></a>
111 <h4>PluginInfoDialog (Constructor)</h4>
112 <b>PluginInfoDialog</b>(<i>pluginManager, parent=None</i>)
113
114 <p>
115 Constructor
116 </p>
117 <dl>
118
119 <dt><i>pluginManager</i></dt>
120 <dd>
121 reference to the plugin manager object
122 </dd>
123 <dt><i>parent</i></dt>
124 <dd>
125 parent of this dialog (QWidget)
126 </dd>
127 </dl>
128 <a NAME="PluginInfoDialog.__activatePlugin" ID="PluginInfoDialog.__activatePlugin"></a>
129 <h4>PluginInfoDialog.__activatePlugin</h4>
130 <b>__activatePlugin</b>(<i></i>)
131
132 <p>
133 Private slot to handle the "Deactivate" context menu action.
134 </p>
135 <a NAME="PluginInfoDialog.__createEntry" ID="PluginInfoDialog.__createEntry"></a>
136 <h4>PluginInfoDialog.__createEntry</h4>
137 <b>__createEntry</b>(<i>info</i>)
138
139 <p>
140 Private method to create a list entry based on the provided info.
141 </p>
142 <dl>
143
144 <dt><i>info</i> (dict)</dt>
145 <dd>
146 dictionary giving the info for the entry (as returned by
147 PluginManager.getPluginInfos())
148 </dd>
149 </dl>
150 <a NAME="PluginInfoDialog.__deactivatePlugin" ID="PluginInfoDialog.__deactivatePlugin"></a>
151 <h4>PluginInfoDialog.__deactivatePlugin</h4>
152 <b>__deactivatePlugin</b>(<i></i>)
153
154 <p>
155 Private slot to handle the "Activate" context menu action.
156 </p>
157 <a NAME="PluginInfoDialog.__populateList" ID="PluginInfoDialog.__populateList"></a>
158 <h4>PluginInfoDialog.__populateList</h4>
159 <b>__populateList</b>(<i></i>)
160
161 <p>
162 Private method to (re)populate the list of plugins.
163 </p>
164 <a NAME="PluginInfoDialog.__showContextMenu" ID="PluginInfoDialog.__showContextMenu"></a>
165 <h4>PluginInfoDialog.__showContextMenu</h4>
166 <b>__showContextMenu</b>(<i>coord</i>)
167
168 <p>
169 Private slot to show the context menu of the listview.
170 </p>
171 <dl>
172
173 <dt><i>coord</i></dt>
174 <dd>
175 the position of the mouse pointer (QPoint)
176 </dd>
177 </dl>
178 <a NAME="PluginInfoDialog.__showDetails" ID="PluginInfoDialog.__showDetails"></a>
179 <h4>PluginInfoDialog.__showDetails</h4>
180 <b>__showDetails</b>(<i></i>)
181
182 <p>
183 Private slot to handle the "Show details" context menu action.
184 </p>
185 <a NAME="PluginInfoDialog.on_pluginList_itemActivated" ID="PluginInfoDialog.on_pluginList_itemActivated"></a>
186 <h4>PluginInfoDialog.on_pluginList_itemActivated</h4>
187 <b>on_pluginList_itemActivated</b>(<i>item, column</i>)
188
189 <p>
190 Private slot to show details about a plugin.
191 </p>
192 <dl>
193
194 <dt><i>item</i></dt>
195 <dd>
196 reference to the selected item (QTreeWidgetItem)
197 </dd>
198 <dt><i>column</i></dt>
199 <dd>
200 column number (integer)
201 </dd>
202 </dl>
203 <div align="right"><a href="#top">Up</a></div>
204 <hr />
205 </body></html>

eric ide

mercurial