--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.PluginManager.PluginInfoDialog.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,191 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.PluginManager.PluginInfoDialog</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.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>Class Methods</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> +<h3>Static Methods</h3> + +<table> +<tr><td>None</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> (dict)</dt> +<dd> +dictionary giving the info for the entry (as returned by + PluginManager.getPluginInfos()) +</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> \ No newline at end of file