Documentation/Source/eric5.IconEditor.IconEditorPalette.html

Wed, 24 Mar 2010 18:38:44 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 24 Mar 2010 18:38:44 +0000
changeset 153
ef200d69dba0
parent 58
37f0444c3479
child 409
0ea528e80202
permissions
-rw-r--r--

Added a few methods to Project.py to support the cooperation stuff.

<?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:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</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><h4>Signals</h4>
<dl>
<dt>colorSelected(QColor)</dt>
<dd>
emitted after a new color has been selected
</dd>
</dl>
<h3>Derived from</h3>
QWidget
<h3>Class Attributes</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.__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>
</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.__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>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial