|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.PluginManager.PluginInfoDialog</h1> |
|
23 <p> |
|
24 Module implementing the Plugin Info Dialog. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#PluginInfoDialog">PluginInfoDialog</a></td> |
|
34 <td>Class implementing the Plugin Info Dialog.</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="PluginInfoDialog" ID="PluginInfoDialog"></a> |
|
43 <h2>PluginInfoDialog</h2> |
|
44 <p> |
|
45 Class implementing the Plugin Info Dialog. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_PluginInfoDialog |
|
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="#PluginInfoDialog.__init__">PluginInfoDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#PluginInfoDialog.__activatePlugin">__activatePlugin</a></td> |
|
64 <td>Private slot to handle the "Deactivate" context menu action.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#PluginInfoDialog.__createEntry">__createEntry</a></td> |
|
67 <td>Private method to create a list entry based on the provided info.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#PluginInfoDialog.__deactivatePlugin">__deactivatePlugin</a></td> |
|
70 <td>Private slot to handle the "Activate" context menu action.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#PluginInfoDialog.__populateList">__populateList</a></td> |
|
73 <td>Private method to (re)populate the list of plugins.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#PluginInfoDialog.__showContextMenu">__showContextMenu</a></td> |
|
76 <td>Private slot to show the context menu of the listview.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#PluginInfoDialog.__showDetails">__showDetails</a></td> |
|
79 <td>Private slot to handle the "Show details" context menu action.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#PluginInfoDialog.on_pluginList_itemActivated">on_pluginList_itemActivated</a></td> |
|
82 <td>Private slot to show details about a plugin.</td> |
|
83 </tr> |
|
84 </table> |
|
85 <h3>Static Methods</h3> |
|
86 <table> |
|
87 <tr><td>None</td></tr> |
|
88 </table> |
|
89 <a NAME="PluginInfoDialog.__init__" ID="PluginInfoDialog.__init__"></a> |
|
90 <h4>PluginInfoDialog (Constructor)</h4> |
|
91 <b>PluginInfoDialog</b>(<i>pluginManager, parent=None</i>) |
|
92 <p> |
|
93 Constructor |
|
94 </p><dl> |
|
95 <dt><i>pluginManager</i></dt> |
|
96 <dd> |
|
97 reference to the plugin manager object |
|
98 </dd><dt><i>parent</i></dt> |
|
99 <dd> |
|
100 parent of this dialog (QWidget) |
|
101 </dd> |
|
102 </dl><a NAME="PluginInfoDialog.__activatePlugin" ID="PluginInfoDialog.__activatePlugin"></a> |
|
103 <h4>PluginInfoDialog.__activatePlugin</h4> |
|
104 <b>__activatePlugin</b>(<i></i>) |
|
105 <p> |
|
106 Private slot to handle the "Deactivate" context menu action. |
|
107 </p><a NAME="PluginInfoDialog.__createEntry" ID="PluginInfoDialog.__createEntry"></a> |
|
108 <h4>PluginInfoDialog.__createEntry</h4> |
|
109 <b>__createEntry</b>(<i>info</i>) |
|
110 <p> |
|
111 Private method to create a list entry based on the provided info. |
|
112 </p><dl> |
|
113 <dt><i>info</i> (dict)</dt> |
|
114 <dd> |
|
115 dictionary giving the info for the entry (as returned by |
|
116 PluginManager.getPluginInfos()) |
|
117 </dd> |
|
118 </dl><a NAME="PluginInfoDialog.__deactivatePlugin" ID="PluginInfoDialog.__deactivatePlugin"></a> |
|
119 <h4>PluginInfoDialog.__deactivatePlugin</h4> |
|
120 <b>__deactivatePlugin</b>(<i></i>) |
|
121 <p> |
|
122 Private slot to handle the "Activate" context menu action. |
|
123 </p><a NAME="PluginInfoDialog.__populateList" ID="PluginInfoDialog.__populateList"></a> |
|
124 <h4>PluginInfoDialog.__populateList</h4> |
|
125 <b>__populateList</b>(<i></i>) |
|
126 <p> |
|
127 Private method to (re)populate the list of plugins. |
|
128 </p><a NAME="PluginInfoDialog.__showContextMenu" ID="PluginInfoDialog.__showContextMenu"></a> |
|
129 <h4>PluginInfoDialog.__showContextMenu</h4> |
|
130 <b>__showContextMenu</b>(<i>coord</i>) |
|
131 <p> |
|
132 Private slot to show the context menu of the listview. |
|
133 </p><dl> |
|
134 <dt><i>coord</i></dt> |
|
135 <dd> |
|
136 the position of the mouse pointer (QPoint) |
|
137 </dd> |
|
138 </dl><a NAME="PluginInfoDialog.__showDetails" ID="PluginInfoDialog.__showDetails"></a> |
|
139 <h4>PluginInfoDialog.__showDetails</h4> |
|
140 <b>__showDetails</b>(<i></i>) |
|
141 <p> |
|
142 Private slot to handle the "Show details" context menu action. |
|
143 </p><a NAME="PluginInfoDialog.on_pluginList_itemActivated" ID="PluginInfoDialog.on_pluginList_itemActivated"></a> |
|
144 <h4>PluginInfoDialog.on_pluginList_itemActivated</h4> |
|
145 <b>on_pluginList_itemActivated</b>(<i>item, column</i>) |
|
146 <p> |
|
147 Private slot to show details about a plugin. |
|
148 </p><dl> |
|
149 <dt><i>item</i></dt> |
|
150 <dd> |
|
151 reference to the selected item (QTreeWidgetItem) |
|
152 </dd><dt><i>column</i></dt> |
|
153 <dd> |
|
154 column number (integer) |
|
155 </dd> |
|
156 </dl> |
|
157 <div align="right"><a href="#top">Up</a></div> |
|
158 <hr /> |
|
159 </body></html> |