16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.PluginManager.PluginInfoDialog</h1> |
23 <h1>eric6.PluginManager.PluginInfoDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the Plugin Info Dialog. |
26 Module implementing the Plugin Info Dialog. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#PluginInfoDialog">PluginInfoDialog</a></td> |
38 <td><a href="#PluginInfoDialog">PluginInfoDialog</a></td> |
34 <td>Class implementing the Plugin Info Dialog.</td> |
39 <td>Class implementing the Plugin Info Dialog.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="PluginInfoDialog" ID="PluginInfoDialog"></a> |
49 <a NAME="PluginInfoDialog" ID="PluginInfoDialog"></a> |
43 <h2>PluginInfoDialog</h2> |
50 <h2>PluginInfoDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing the Plugin Info Dialog. |
53 Class implementing the Plugin Info Dialog. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_PluginInfoDialog |
56 QDialog, Ui_PluginInfoDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#PluginInfoDialog.__init__">PluginInfoDialog</a></td> |
72 <td><a href="#PluginInfoDialog.__init__">PluginInfoDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#PluginInfoDialog.__activatePlugin">__activatePlugin</a></td> |
76 <td><a href="#PluginInfoDialog.__activatePlugin">__activatePlugin</a></td> |
64 <td>Private slot to handle the "Deactivate" context menu action.</td> |
77 <td>Private slot to handle the "Deactivate" context menu action.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#PluginInfoDialog.__createEntry">__createEntry</a></td> |
80 <td><a href="#PluginInfoDialog.__createEntry">__createEntry</a></td> |
67 <td>Private method to create a list entry based on the provided info.</td> |
81 <td>Private method to create a list entry based on the provided info.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#PluginInfoDialog.__deactivatePlugin">__deactivatePlugin</a></td> |
84 <td><a href="#PluginInfoDialog.__deactivatePlugin">__deactivatePlugin</a></td> |
70 <td>Private slot to handle the "Activate" context menu action.</td> |
85 <td>Private slot to handle the "Activate" context menu action.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#PluginInfoDialog.__populateList">__populateList</a></td> |
88 <td><a href="#PluginInfoDialog.__populateList">__populateList</a></td> |
73 <td>Private method to (re)populate the list of plugins.</td> |
89 <td>Private method to (re)populate the list of plugins.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#PluginInfoDialog.__showContextMenu">__showContextMenu</a></td> |
92 <td><a href="#PluginInfoDialog.__showContextMenu">__showContextMenu</a></td> |
76 <td>Private slot to show the context menu of the listview.</td> |
93 <td>Private slot to show the context menu of the listview.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#PluginInfoDialog.__showDetails">__showDetails</a></td> |
96 <td><a href="#PluginInfoDialog.__showDetails">__showDetails</a></td> |
79 <td>Private slot to handle the "Show details" context menu action.</td> |
97 <td>Private slot to handle the "Show details" context menu action.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#PluginInfoDialog.on_pluginList_itemActivated">on_pluginList_itemActivated</a></td> |
100 <td><a href="#PluginInfoDialog.on_pluginList_itemActivated">on_pluginList_itemActivated</a></td> |
82 <td>Private slot to show details about a plugin.</td> |
101 <td>Private slot to show details about a plugin.</td> |
83 </tr> |
102 </tr> |
84 </table> |
103 </table> |
85 <h3>Static Methods</h3> |
104 <h3>Static Methods</h3> |
86 <table> |
105 |
87 <tr><td>None</td></tr> |
106 <table> |
88 </table> |
107 <tr><td>None</td></tr> |
|
108 </table> |
|
109 |
89 <a NAME="PluginInfoDialog.__init__" ID="PluginInfoDialog.__init__"></a> |
110 <a NAME="PluginInfoDialog.__init__" ID="PluginInfoDialog.__init__"></a> |
90 <h4>PluginInfoDialog (Constructor)</h4> |
111 <h4>PluginInfoDialog (Constructor)</h4> |
91 <b>PluginInfoDialog</b>(<i>pluginManager, parent=None</i>) |
112 <b>PluginInfoDialog</b>(<i>pluginManager, parent=None</i>) |
|
113 |
92 <p> |
114 <p> |
93 Constructor |
115 Constructor |
94 </p><dl> |
116 </p> |
|
117 <dl> |
|
118 |
95 <dt><i>pluginManager</i></dt> |
119 <dt><i>pluginManager</i></dt> |
96 <dd> |
120 <dd> |
97 reference to the plugin manager object |
121 reference to the plugin manager object |
98 </dd><dt><i>parent</i></dt> |
122 </dd> |
|
123 <dt><i>parent</i></dt> |
99 <dd> |
124 <dd> |
100 parent of this dialog (QWidget) |
125 parent of this dialog (QWidget) |
101 </dd> |
126 </dd> |
102 </dl><a NAME="PluginInfoDialog.__activatePlugin" ID="PluginInfoDialog.__activatePlugin"></a> |
127 </dl> |
|
128 <a NAME="PluginInfoDialog.__activatePlugin" ID="PluginInfoDialog.__activatePlugin"></a> |
103 <h4>PluginInfoDialog.__activatePlugin</h4> |
129 <h4>PluginInfoDialog.__activatePlugin</h4> |
104 <b>__activatePlugin</b>(<i></i>) |
130 <b>__activatePlugin</b>(<i></i>) |
|
131 |
105 <p> |
132 <p> |
106 Private slot to handle the "Deactivate" context menu action. |
133 Private slot to handle the "Deactivate" context menu action. |
107 </p><a NAME="PluginInfoDialog.__createEntry" ID="PluginInfoDialog.__createEntry"></a> |
134 </p> |
|
135 <a NAME="PluginInfoDialog.__createEntry" ID="PluginInfoDialog.__createEntry"></a> |
108 <h4>PluginInfoDialog.__createEntry</h4> |
136 <h4>PluginInfoDialog.__createEntry</h4> |
109 <b>__createEntry</b>(<i>info</i>) |
137 <b>__createEntry</b>(<i>info</i>) |
|
138 |
110 <p> |
139 <p> |
111 Private method to create a list entry based on the provided info. |
140 Private method to create a list entry based on the provided info. |
112 </p><dl> |
141 </p> |
|
142 <dl> |
|
143 |
113 <dt><i>info</i> (dict)</dt> |
144 <dt><i>info</i> (dict)</dt> |
114 <dd> |
145 <dd> |
115 dictionary giving the info for the entry (as returned by |
146 dictionary giving the info for the entry (as returned by |
116 PluginManager.getPluginInfos()) |
147 PluginManager.getPluginInfos()) |
117 </dd> |
148 </dd> |
118 </dl><a NAME="PluginInfoDialog.__deactivatePlugin" ID="PluginInfoDialog.__deactivatePlugin"></a> |
149 </dl> |
|
150 <a NAME="PluginInfoDialog.__deactivatePlugin" ID="PluginInfoDialog.__deactivatePlugin"></a> |
119 <h4>PluginInfoDialog.__deactivatePlugin</h4> |
151 <h4>PluginInfoDialog.__deactivatePlugin</h4> |
120 <b>__deactivatePlugin</b>(<i></i>) |
152 <b>__deactivatePlugin</b>(<i></i>) |
|
153 |
121 <p> |
154 <p> |
122 Private slot to handle the "Activate" context menu action. |
155 Private slot to handle the "Activate" context menu action. |
123 </p><a NAME="PluginInfoDialog.__populateList" ID="PluginInfoDialog.__populateList"></a> |
156 </p> |
|
157 <a NAME="PluginInfoDialog.__populateList" ID="PluginInfoDialog.__populateList"></a> |
124 <h4>PluginInfoDialog.__populateList</h4> |
158 <h4>PluginInfoDialog.__populateList</h4> |
125 <b>__populateList</b>(<i></i>) |
159 <b>__populateList</b>(<i></i>) |
|
160 |
126 <p> |
161 <p> |
127 Private method to (re)populate the list of plugins. |
162 Private method to (re)populate the list of plugins. |
128 </p><a NAME="PluginInfoDialog.__showContextMenu" ID="PluginInfoDialog.__showContextMenu"></a> |
163 </p> |
|
164 <a NAME="PluginInfoDialog.__showContextMenu" ID="PluginInfoDialog.__showContextMenu"></a> |
129 <h4>PluginInfoDialog.__showContextMenu</h4> |
165 <h4>PluginInfoDialog.__showContextMenu</h4> |
130 <b>__showContextMenu</b>(<i>coord</i>) |
166 <b>__showContextMenu</b>(<i>coord</i>) |
|
167 |
131 <p> |
168 <p> |
132 Private slot to show the context menu of the listview. |
169 Private slot to show the context menu of the listview. |
133 </p><dl> |
170 </p> |
|
171 <dl> |
|
172 |
134 <dt><i>coord</i></dt> |
173 <dt><i>coord</i></dt> |
135 <dd> |
174 <dd> |
136 the position of the mouse pointer (QPoint) |
175 the position of the mouse pointer (QPoint) |
137 </dd> |
176 </dd> |
138 </dl><a NAME="PluginInfoDialog.__showDetails" ID="PluginInfoDialog.__showDetails"></a> |
177 </dl> |
|
178 <a NAME="PluginInfoDialog.__showDetails" ID="PluginInfoDialog.__showDetails"></a> |
139 <h4>PluginInfoDialog.__showDetails</h4> |
179 <h4>PluginInfoDialog.__showDetails</h4> |
140 <b>__showDetails</b>(<i></i>) |
180 <b>__showDetails</b>(<i></i>) |
|
181 |
141 <p> |
182 <p> |
142 Private slot to handle the "Show details" context menu action. |
183 Private slot to handle the "Show details" context menu action. |
143 </p><a NAME="PluginInfoDialog.on_pluginList_itemActivated" ID="PluginInfoDialog.on_pluginList_itemActivated"></a> |
184 </p> |
|
185 <a NAME="PluginInfoDialog.on_pluginList_itemActivated" ID="PluginInfoDialog.on_pluginList_itemActivated"></a> |
144 <h4>PluginInfoDialog.on_pluginList_itemActivated</h4> |
186 <h4>PluginInfoDialog.on_pluginList_itemActivated</h4> |
145 <b>on_pluginList_itemActivated</b>(<i>item, column</i>) |
187 <b>on_pluginList_itemActivated</b>(<i>item, column</i>) |
|
188 |
146 <p> |
189 <p> |
147 Private slot to show details about a plugin. |
190 Private slot to show details about a plugin. |
148 </p><dl> |
191 </p> |
|
192 <dl> |
|
193 |
149 <dt><i>item</i></dt> |
194 <dt><i>item</i></dt> |
150 <dd> |
195 <dd> |
151 reference to the selected item (QTreeWidgetItem) |
196 reference to the selected item (QTreeWidgetItem) |
152 </dd><dt><i>column</i></dt> |
197 </dd> |
|
198 <dt><i>column</i></dt> |
153 <dd> |
199 <dd> |
154 column number (integer) |
200 column number (integer) |
155 </dd> |
201 </dd> |
156 </dl> |
202 </dl> |
157 <div align="right"><a href="#top">Up</a></div> |
203 <div align="right"><a href="#top">Up</a></div> |