src/eric7/Documentation/Source/eric7.IconEditor.IconEditorPalette.html

Fri, 27 Oct 2023 14:09:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Oct 2023 14:09:40 +0200
branch
eric7
changeset 10259
b51dfacef37f
parent 9209
b99e7fd55fd3
child 10428
a071d4065202
permissions
-rw-r--r--

Regenerated the source documentation with the corrected module parser.

<!DOCTYPE html>
<html><head>
<title>eric7.IconEditor.IconEditorPalette</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.IconEditor.IconEditorPalette</h1>

<p>
Module implementing a palette widget for the icon editor.
</p>
<h3>Global Attributes</h3>

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

<table>

<tr>
<td><a href="#IconEditorPalette">IconEditorPalette</a></td>
<td>Class implementing a palette widget for the icon editor.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="IconEditorPalette" ID="IconEditorPalette"></a>
<h2>IconEditorPalette</h2>

<p>
    Class implementing a palette widget for the icon editor.
</p>
<h3>Signals</h3>
<dl>

<dt>colorSelected(QColor)</dt>
<dd>
emitted after a new color has been selected
</dd>
<dt>compositingChanged(QPainter.CompositionMode)</dt>
<dd>
emitted to signal a
        change of the compositing mode
</dd>
</dl>
<h3>Derived from</h3>
QWidget
<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="#IconEditorPalette.__init__">IconEditorPalette</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#IconEditorPalette.__alphaChanged">__alphaChanged</a></td>
<td>Private slot to track changes of the alpha channel.</td>
</tr>
<tr>
<td><a href="#IconEditorPalette.__compositingChanged">__compositingChanged</a></td>
<td>Private slot to handle a change of the compositing mode.</td>
</tr>
<tr>
<td><a href="#IconEditorPalette.__selectColor">__selectColor</a></td>
<td>Private slot to select a new drawing color.</td>
</tr>
<tr>
<td><a href="#IconEditorPalette.colorChanged">colorChanged</a></td>
<td>Public slot to update the color preview.</td>
</tr>
<tr>
<td><a href="#IconEditorPalette.previewChanged">previewChanged</a></td>
<td>Public slot to update the preview.</td>
</tr>
<tr>
<td><a href="#IconEditorPalette.setCompositingMode">setCompositingMode</a></td>
<td>Public method to set the compositing mode.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="IconEditorPalette.__init__" ID="IconEditorPalette.__init__"></a>
<h4>IconEditorPalette (Constructor)</h4>
<b>IconEditorPalette</b>(<i>parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl>
<a NAME="IconEditorPalette.__alphaChanged" ID="IconEditorPalette.__alphaChanged"></a>
<h4>IconEditorPalette.__alphaChanged</h4>
<b>__alphaChanged</b>(<i>val</i>)

<p>
        Private slot to track changes of the alpha channel.
</p>
<dl>

<dt><i>val</i></dt>
<dd>
value of the alpha channel
</dd>
</dl>
<a NAME="IconEditorPalette.__compositingChanged" ID="IconEditorPalette.__compositingChanged"></a>
<h4>IconEditorPalette.__compositingChanged</h4>
<b>__compositingChanged</b>(<i>on</i>)

<p>
        Private slot to handle a change of the compositing mode.
</p>
<dl>

<dt><i>on</i></dt>
<dd>
flag indicating the checked state of the compositing button
            (boolean)
</dd>
</dl>
<a NAME="IconEditorPalette.__selectColor" ID="IconEditorPalette.__selectColor"></a>
<h4>IconEditorPalette.__selectColor</h4>
<b>__selectColor</b>(<i></i>)

<p>
        Private slot to select a new drawing color.
</p>
<a NAME="IconEditorPalette.colorChanged" ID="IconEditorPalette.colorChanged"></a>
<h4>IconEditorPalette.colorChanged</h4>
<b>colorChanged</b>(<i>color</i>)

<p>
        Public slot to update the color preview.
</p>
<dl>

<dt><i>color</i></dt>
<dd>
new color (QColor)
</dd>
</dl>
<a NAME="IconEditorPalette.previewChanged" ID="IconEditorPalette.previewChanged"></a>
<h4>IconEditorPalette.previewChanged</h4>
<b>previewChanged</b>(<i>pixmap</i>)

<p>
        Public slot to update the preview.
</p>
<dl>

<dt><i>pixmap</i></dt>
<dd>
new preview pixmap (QPixmap)
</dd>
</dl>
<a NAME="IconEditorPalette.setCompositingMode" ID="IconEditorPalette.setCompositingMode"></a>
<h4>IconEditorPalette.setCompositingMode</h4>
<b>setCompositingMode</b>(<i>mode</i>)

<p>
        Public method to set the compositing mode.
</p>
<dl>

<dt><i>mode</i></dt>
<dd>
compositing mode to set (QPainter.CompositionMode)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial