Wed, 24 Mar 2010 18:38:44 +0000
Added a few methods to Project.py to support the cooperation stuff.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> <html><head> <title>eric5.PluginManager.PluginInfoDialog</title> <style> body { background:white; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #4FA4FF; } h2 { color: white; background: #4FA4FF; } h3 { color: white; background: #00557F; } h4 { color: white; background: #00557F; } a { color: #AA5500; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>eric5.PluginManager.PluginInfoDialog</h1> <p> Module implementing the Plugin Info Dialog. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#PluginInfoDialog">PluginInfoDialog</a></td> <td>Class implementing the Plugin Info Dialog.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="PluginInfoDialog" ID="PluginInfoDialog"></a> <h2>PluginInfoDialog</h2> <p> Class implementing the Plugin Info Dialog. </p> <h3>Derived from</h3> QDialog, Ui_PluginInfoDialog <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#PluginInfoDialog.__init__">PluginInfoDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#PluginInfoDialog.__activatePlugin">__activatePlugin</a></td> <td>Private slot to handle the "Deactivate" context menu action.</td> </tr><tr> <td><a href="#PluginInfoDialog.__createEntry">__createEntry</a></td> <td>Private method to create a list entry based on the provided info.</td> </tr><tr> <td><a href="#PluginInfoDialog.__deactivatePlugin">__deactivatePlugin</a></td> <td>Private slot to handle the "Activate" context menu action.</td> </tr><tr> <td><a href="#PluginInfoDialog.__populateList">__populateList</a></td> <td>Private method to (re)populate the list of plugins.</td> </tr><tr> <td><a href="#PluginInfoDialog.__showContextMenu">__showContextMenu</a></td> <td>Private slot to show the context menu of the listview.</td> </tr><tr> <td><a href="#PluginInfoDialog.__showDetails">__showDetails</a></td> <td>Private slot to handle the "Show details" context menu action.</td> </tr><tr> <td><a href="#PluginInfoDialog.on_pluginList_itemActivated">on_pluginList_itemActivated</a></td> <td>Private slot to show details about a plugin.</td> </tr> </table> <a NAME="PluginInfoDialog.__init__" ID="PluginInfoDialog.__init__"></a> <h4>PluginInfoDialog (Constructor)</h4> <b>PluginInfoDialog</b>(<i>pluginManager, parent = None</i>) <p> Constructor </p><dl> <dt><i>pluginManager</i></dt> <dd> reference to the plugin manager object </dd><dt><i>parent</i></dt> <dd> parent of this dialog (QWidget) </dd> </dl><a NAME="PluginInfoDialog.__activatePlugin" ID="PluginInfoDialog.__activatePlugin"></a> <h4>PluginInfoDialog.__activatePlugin</h4> <b>__activatePlugin</b>(<i></i>) <p> Private slot to handle the "Deactivate" context menu action. </p><a NAME="PluginInfoDialog.__createEntry" ID="PluginInfoDialog.__createEntry"></a> <h4>PluginInfoDialog.__createEntry</h4> <b>__createEntry</b>(<i>info</i>) <p> Private method to create a list entry based on the provided info. </p><dl> <dt><i>info</i></dt> <dd> tuple giving the info for the entry </dd> </dl><a NAME="PluginInfoDialog.__deactivatePlugin" ID="PluginInfoDialog.__deactivatePlugin"></a> <h4>PluginInfoDialog.__deactivatePlugin</h4> <b>__deactivatePlugin</b>(<i></i>) <p> Private slot to handle the "Activate" context menu action. </p><a NAME="PluginInfoDialog.__populateList" ID="PluginInfoDialog.__populateList"></a> <h4>PluginInfoDialog.__populateList</h4> <b>__populateList</b>(<i></i>) <p> Private method to (re)populate the list of plugins. </p><a NAME="PluginInfoDialog.__showContextMenu" ID="PluginInfoDialog.__showContextMenu"></a> <h4>PluginInfoDialog.__showContextMenu</h4> <b>__showContextMenu</b>(<i>coord</i>) <p> Private slot to show the context menu of the listview. </p><dl> <dt><i>coord</i></dt> <dd> the position of the mouse pointer (QPoint) </dd> </dl><a NAME="PluginInfoDialog.__showDetails" ID="PluginInfoDialog.__showDetails"></a> <h4>PluginInfoDialog.__showDetails</h4> <b>__showDetails</b>(<i></i>) <p> Private slot to handle the "Show details" context menu action. </p><a NAME="PluginInfoDialog.on_pluginList_itemActivated" ID="PluginInfoDialog.on_pluginList_itemActivated"></a> <h4>PluginInfoDialog.on_pluginList_itemActivated</h4> <b>on_pluginList_itemActivated</b>(<i>item, column</i>) <p> Private slot to show details about a plugin. </p><dl> <dt><i>item</i></dt> <dd> reference to the selected item (QTreeWidgetItem) </dd><dt><i>column</i></dt> <dd> column number (integer) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>