42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="IconEditorPalette" ID="IconEditorPalette"></a> |
43 <a NAME="IconEditorPalette" ID="IconEditorPalette"></a> |
44 <h2>IconEditorPalette</h2> |
44 <h2>IconEditorPalette</h2> |
45 <p> |
45 <p> |
46 Class implementing a palette widget for the icon editor. |
46 Class implementing a palette widget for the icon editor. |
47 </p><h4>Signals</h4> |
47 </p><h3>Signals</h3> |
48 <dl> |
48 <dl> |
49 <dt>colorSelected(QColor)</dt> |
49 <dt>colorSelected(QColor)</dt> |
50 <dd> |
50 <dd> |
51 emitted after a new color has been selected |
51 emitted after a new color has been selected |
52 </dd><dt>compositingChanged(QPainter.CompositionMode)</dt> |
52 </dd><dt>compositingChanged(QPainter.CompositionMode)</dt> |
59 QWidget |
59 QWidget |
60 <h3>Class Attributes</h3> |
60 <h3>Class Attributes</h3> |
61 <table> |
61 <table> |
62 <tr><td>None</td></tr> |
62 <tr><td>None</td></tr> |
63 </table> |
63 </table> |
|
64 <h3>Class Methods</h3> |
|
65 <table> |
|
66 <tr><td>None</td></tr> |
|
67 </table> |
64 <h3>Methods</h3> |
68 <h3>Methods</h3> |
65 <table> |
69 <table> |
66 <tr> |
70 <tr> |
67 <td><a href="#IconEditorPalette.__init__">IconEditorPalette</a></td> |
|
68 <td>Constructor</td> |
|
69 </tr><tr> |
|
70 <td><a href="#IconEditorPalette.__alphaChanged">__alphaChanged</a></td> |
71 <td><a href="#IconEditorPalette.__alphaChanged">__alphaChanged</a></td> |
71 <td>Private slot to track changes of the alpha channel.</td> |
72 <td>Private slot to track changes of the alpha channel.</td> |
72 </tr><tr> |
73 </tr><tr> |
73 <td><a href="#IconEditorPalette.__compositingChanged">__compositingChanged</a></td> |
74 <td><a href="#IconEditorPalette.__compositingChanged">__compositingChanged</a></td> |
74 <td>Private slot to handle a change of the compositing mode.</td> |
75 <td>Private slot to handle a change of the compositing mode.</td> |
83 <td>Public slot to update the preview.</td> |
84 <td>Public slot to update the preview.</td> |
84 </tr><tr> |
85 </tr><tr> |
85 <td><a href="#IconEditorPalette.setCompositingMode">setCompositingMode</a></td> |
86 <td><a href="#IconEditorPalette.setCompositingMode">setCompositingMode</a></td> |
86 <td>Public method to set the compositing mode.</td> |
87 <td>Public method to set the compositing mode.</td> |
87 </tr> |
88 </tr> |
|
89 </table> |
|
90 <h3>Static Methods</h3> |
|
91 <table> |
|
92 <tr><td>None</td></tr> |
88 </table> |
93 </table> |
89 <a NAME="IconEditorPalette.__init__" ID="IconEditorPalette.__init__"></a> |
94 <a NAME="IconEditorPalette.__init__" ID="IconEditorPalette.__init__"></a> |
90 <h4>IconEditorPalette (Constructor)</h4> |
95 <h4>IconEditorPalette (Constructor)</h4> |
91 <b>IconEditorPalette</b>(<i>parent=None</i>) |
96 <b>IconEditorPalette</b>(<i>parent=None</i>) |
92 <p> |
97 <p> |