src/eric7/Documentation/Source/eric7.PluginManager.PluginInfoDialog.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10690
fab36645aa7d
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!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> (PluginManager)</dt>
<dd>
reference to the plugin manager object
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
parent of this dialog
</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> (QPoint)</dt>
<dd>
the position of the mouse pointer
</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> (QTreeWidgetItem)</dt>
<dd>
reference to the selected item
</dd>
<dt><i>_column</i> (int)</dt>
<dd>
column number (unused)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial