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