Documentation/Source/eric5.IconEditor.IconEditorPalette.html

Sun, 22 Apr 2012 12:03:49 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 22 Apr 2012 12:03:49 +0200
branch
5_2_x
changeset 1809
b51de83c643a
parent 1229
a8207dc73672
child 2367
78f6c8193d37
permissions
-rw-r--r--

Updated source docu.

<?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.IconEditor.IconEditorPalette</title>
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.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><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><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