Documentation/Source/eric4.IconEditor.IconEditorPalette.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.IconEditor.IconEditorPalette</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.IconEditor.IconEditorPalette</h1>
24 <p>
25 Module implementing a palette widget for the icon editor.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#IconEditorPalette">IconEditorPalette</a></td>
35 <td>Class implementing a palette widget for the icon editor.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="IconEditorPalette" ID="IconEditorPalette"></a>
44 <h2>IconEditorPalette</h2>
45 <p>
46 Class implementing a palette widget for the icon editor.
47 </p><h4>Signals</h4>
48 <dl>
49 <dt>colorSelected(QColor)</dt>
50 <dd>
51 emitted after a new color has been selected
52 </dd>
53 </dl>
54 <h3>Derived from</h3>
55 QWidget
56 <h3>Class Attributes</h3>
57 <table>
58 <tr><td>None</td></tr>
59 </table>
60 <h3>Methods</h3>
61 <table>
62 <tr>
63 <td><a href="#IconEditorPalette.__init__">IconEditorPalette</a></td>
64 <td>Constructor</td>
65 </tr><tr>
66 <td><a href="#IconEditorPalette.__alphaChanged">__alphaChanged</a></td>
67 <td>Private slot to track changes of the alpha channel.</td>
68 </tr><tr>
69 <td><a href="#IconEditorPalette.__selectColor">__selectColor</a></td>
70 <td>Private slot to select a new drawing color.</td>
71 </tr><tr>
72 <td><a href="#IconEditorPalette.colorChanged">colorChanged</a></td>
73 <td>Public slot to update the color preview.</td>
74 </tr><tr>
75 <td><a href="#IconEditorPalette.previewChanged">previewChanged</a></td>
76 <td>Public slot to update the preview.</td>
77 </tr>
78 </table>
79 <a NAME="IconEditorPalette.__init__" ID="IconEditorPalette.__init__"></a>
80 <h4>IconEditorPalette (Constructor)</h4>
81 <b>IconEditorPalette</b>(<i>parent = None</i>)
82 <p>
83 Constructor
84 </p><dl>
85 <dt><i>parent</i></dt>
86 <dd>
87 reference to the parent widget (QWidget)
88 </dd>
89 </dl><a NAME="IconEditorPalette.__alphaChanged" ID="IconEditorPalette.__alphaChanged"></a>
90 <h4>IconEditorPalette.__alphaChanged</h4>
91 <b>__alphaChanged</b>(<i>val</i>)
92 <p>
93 Private slot to track changes of the alpha channel.
94 </p><dl>
95 <dt><i>val</i></dt>
96 <dd>
97 value of the alpha channel
98 </dd>
99 </dl><a NAME="IconEditorPalette.__selectColor" ID="IconEditorPalette.__selectColor"></a>
100 <h4>IconEditorPalette.__selectColor</h4>
101 <b>__selectColor</b>(<i></i>)
102 <p>
103 Private slot to select a new drawing color.
104 </p><a NAME="IconEditorPalette.colorChanged" ID="IconEditorPalette.colorChanged"></a>
105 <h4>IconEditorPalette.colorChanged</h4>
106 <b>colorChanged</b>(<i>color</i>)
107 <p>
108 Public slot to update the color preview.
109 </p><a NAME="IconEditorPalette.previewChanged" ID="IconEditorPalette.previewChanged"></a>
110 <h4>IconEditorPalette.previewChanged</h4>
111 <b>previewChanged</b>(<i>pixmap</i>)
112 <p>
113 Public slot to update the preview.
114 </p>
115 <div align="right"><a href="#top">Up</a></div>
116 <hr />
117 </body></html>

eric ide

mercurial