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