src/eric7/Documentation/Source/eric7.Plugins.PluginWizardQColorDialog.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 10479
856476537696
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.Plugins.PluginWizardQColorDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.PluginWizardQColorDialog</h1>
<p>
This plugin shows the QColorDialog wizard.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>__header__</td></tr>
<tr><td>error</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#ColorDialogWizard">ColorDialogWizard</a></td>
<td>Class implementing the QColorDialog wizard plugin.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="ColorDialogWizard" ID="ColorDialogWizard"></a>
<h2>ColorDialogWizard</h2>
<p>
    Class implementing the QColorDialog wizard plugin.
</p>

<h3>Derived from</h3>
QObject
<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="#ColorDialogWizard.__init__">ColorDialogWizard</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#ColorDialogWizard.__callForm">__callForm</a></td>
<td>Private method to display a dialog and get the code.</td>
</tr>
<tr>
<td><a href="#ColorDialogWizard.__handle">__handle</a></td>
<td>Private method to handle the wizards action.</td>
</tr>
<tr>
<td><a href="#ColorDialogWizard.__initAction">__initAction</a></td>
<td>Private method to initialize the action.</td>
</tr>
<tr>
<td><a href="#ColorDialogWizard.__initMenu">__initMenu</a></td>
<td>Private method to add the actions to the right menu.</td>
</tr>
<tr>
<td><a href="#ColorDialogWizard.activate">activate</a></td>
<td>Public method to activate this plugin.</td>
</tr>
<tr>
<td><a href="#ColorDialogWizard.deactivate">deactivate</a></td>
<td>Public method to deactivate this plugin.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="ColorDialogWizard.__init__" ID="ColorDialogWizard.__init__"></a>
<h4>ColorDialogWizard (Constructor)</h4>
<b>ColorDialogWizard</b>(<i>ui</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>ui</i> (UserInterface)</dt>
<dd>
reference to the user interface object
</dd>
</dl>
<a NAME="ColorDialogWizard.__callForm" ID="ColorDialogWizard.__callForm"></a>
<h4>ColorDialogWizard.__callForm</h4>
<b>__callForm</b>(<i>editor</i>)
<p>
        Private method to display a dialog and get the code.
</p>

<dl>

<dt><i>editor</i> (Editor)</dt>
<dd>
reference to the current editor
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
the generated code and a success flag
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of (str, bool)
</dd>
</dl>
<a NAME="ColorDialogWizard.__handle" ID="ColorDialogWizard.__handle"></a>
<h4>ColorDialogWizard.__handle</h4>
<b>__handle</b>(<i></i>)
<p>
        Private method to handle the wizards action.
</p>

<a NAME="ColorDialogWizard.__initAction" ID="ColorDialogWizard.__initAction"></a>
<h4>ColorDialogWizard.__initAction</h4>
<b>__initAction</b>(<i></i>)
<p>
        Private method to initialize the action.
</p>

<a NAME="ColorDialogWizard.__initMenu" ID="ColorDialogWizard.__initMenu"></a>
<h4>ColorDialogWizard.__initMenu</h4>
<b>__initMenu</b>(<i></i>)
<p>
        Private method to add the actions to the right menu.
</p>

<a NAME="ColorDialogWizard.activate" ID="ColorDialogWizard.activate"></a>
<h4>ColorDialogWizard.activate</h4>
<b>activate</b>(<i></i>)
<p>
        Public method to activate this plugin.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple of None and activation status
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="ColorDialogWizard.deactivate" ID="ColorDialogWizard.deactivate"></a>
<h4>ColorDialogWizard.deactivate</h4>
<b>deactivate</b>(<i></i>)
<p>
        Public method to deactivate this plugin.
</p>

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial