--- a/eric6/Documentation/Source/eric6.IconEditor.IconEditorPalette.html Wed Sep 25 19:40:31 2019 +0200 +++ b/eric6/Documentation/Source/eric6.IconEditor.IconEditorPalette.html Wed Sep 25 19:42:44 2019 +0200 @@ -18,37 +18,48 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>eric6.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 /> +<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> +</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> +<dt>compositingChanged(QPainter.CompositionMode)</dt> <dd> emitted to signal a change of the compositing mode @@ -57,104 +68,141 @@ <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> +</tr> +<tr> <td><a href="#IconEditorPalette.__alphaChanged">__alphaChanged</a></td> <td>Private slot to track changes of the alpha channel.</td> -</tr><tr> +</tr> +<tr> <td><a href="#IconEditorPalette.__compositingChanged">__compositingChanged</a></td> <td>Private slot to handle a change of the compositing mode.</td> -</tr><tr> +</tr> +<tr> <td><a href="#IconEditorPalette.__selectColor">__selectColor</a></td> <td>Private slot to select a new drawing color.</td> -</tr><tr> +</tr> +<tr> <td><a href="#IconEditorPalette.colorChanged">colorChanged</a></td> <td>Public slot to update the color preview.</td> -</tr><tr> +</tr> +<tr> <td><a href="#IconEditorPalette.previewChanged">previewChanged</a></td> <td>Public slot to update the preview.</td> -</tr><tr> +</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> +</p> +<dl> + <dt><i>parent</i></dt> <dd> reference to the parent widget (QWidget) </dd> -</dl><a NAME="IconEditorPalette.__alphaChanged" ID="IconEditorPalette.__alphaChanged"></a> +</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> +</p> +<dl> + <dt><i>val</i></dt> <dd> value of the alpha channel </dd> -</dl><a NAME="IconEditorPalette.__compositingChanged" ID="IconEditorPalette.__compositingChanged"></a> +</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> +</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> +</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> +</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> +</p> +<dl> + <dt><i>color</i></dt> <dd> new color (QColor) </dd> -</dl><a NAME="IconEditorPalette.previewChanged" ID="IconEditorPalette.previewChanged"></a> +</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> +</p> +<dl> + <dt><i>pixmap</i></dt> <dd> new preview pixmap (QPixmap) </dd> -</dl><a NAME="IconEditorPalette.setCompositingMode" ID="IconEditorPalette.setCompositingMode"></a> +</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> +</p> +<dl> + <dt><i>mode</i></dt> <dd> compositing mode to set (QPainter.CompositionMode)