Tue, 24 Oct 2017 19:09:09 +0200
Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.
<!DOCTYPE html> <html><head> <title>eric6.IconEditor.IconEditorPalette</title> <meta charset="UTF-8"> <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>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 /> <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>