You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
206 lines
10 KiB
206 lines
10 KiB
14 years ago
|
|
||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
|
||
|
"http://www.w3.org/TR/html4/loose.dtd"">
|
||
|
<html>
|
||
|
<head>
|
||
12 years ago
|
<title>class TDEIconEffect</title>
|
||
14 years ago
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
|
<meta name="GENERATOR" content="wabbit dumphtml">
|
||
|
</head>
|
||
|
<body>
|
||
|
<h4>PyKDE - Python Bindings for KDE</h4>
|
||
|
<hr>
|
||
|
<table width="100%"><tr>
|
||
|
<td width ="70%">
|
||
12 years ago
|
<h1>class TDEIconEffect</h1><hr>
|
||
14 years ago
|
</td>
|
||
|
<td width="30%" valign="top" align="right">
|
||
|
<table>
|
||
|
<tr><td align="right"><a href="doc/index.html">Table of contents</a></td></tr>
|
||
|
<tr><td align="right"><a href="../index.html">Modules</a></td></tr>
|
||
13 years ago
|
<tr><td align="right"><a href="index.html">tdecore Classes</a></td></tr>
|
||
14 years ago
|
<tr><td align="right"><a href="../allclasses.html">All Classes</a></td></tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr></table>
|
||
|
<table>
|
||
|
<tr><td width="10%" align=left>Module</td>
|
||
13 years ago
|
<td width="30%" align=left>tdecore</td>
|
||
14 years ago
|
</tr>
|
||
|
<tr><td>Class</td>
|
||
12 years ago
|
<td>TDEIconEffect</td>
|
||
14 years ago
|
</tr>
|
||
|
<tr><td>Inherits</td>
|
||
|
<td> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<h3>enums</h3><ul>
|
||
|
<li><b>Effects</b> = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, ToMonochrome, LastEffect
|
||
|
}<li><b>Effects</b> = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, LastEffect
|
||
|
}</ul>
|
||
|
<h3>methods</h3><ul>
|
||
12 years ago
|
<li><b>TDEIconEffect</b> ()
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconEffect instance</i></td></tr>
|
||
14 years ago
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>apply</b> (src, group, state)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
<tr><td>group</td><td>int</td><td></td></tr>
|
||
|
<tr><td>state</td><td>int</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>apply</b> (src, effect, value, rgb, trans)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
<tr><td>effect</td><td>int</td><td></td></tr>
|
||
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
13 years ago
|
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
|
||
14 years ago
|
<tr><td>trans</td><td>bool</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>apply</b> (src, effect, value, rgb, rgb2, trans)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
|
||
14 years ago
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
<tr><td>effect</td><td>int</td><td></td></tr>
|
||
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
13 years ago
|
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
|
||
|
<tr><td>rgb2</td><td>TQColor</td><td></td></tr>
|
||
14 years ago
|
<tr><td>trans</td><td>bool</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>apply</b> (src, group, state)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQPixmap</td><td></td></tr>
|
||
14 years ago
|
<tr><td>group</td><td>int</td><td></td></tr>
|
||
|
<tr><td>state</td><td>int</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>apply</b> (src, effect, value, rgb, trans)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQPixmap</td><td></td></tr>
|
||
14 years ago
|
<tr><td>effect</td><td>int</td><td></td></tr>
|
||
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
13 years ago
|
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
|
||
14 years ago
|
<tr><td>trans</td><td>bool</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>apply</b> (src, effect, value, rgb, rgb2, trans)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
|
||
14 years ago
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQPixmap</td><td></td></tr>
|
||
14 years ago
|
<tr><td>effect</td><td>int</td><td></td></tr>
|
||
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
13 years ago
|
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
|
||
|
<tr><td>rgb2</td><td>TQColor</td><td></td></tr>
|
||
14 years ago
|
<tr><td>trans</td><td>bool</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>colorize</b> (image, col, value)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>image</td><td>TQImage</td><td></td></tr>
|
||
|
<tr><td>col</td><td>TQColor</td><td></td></tr>
|
||
14 years ago
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>deSaturate</b> (image, value)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>image</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>doublePixels</b> (src)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>fingerprint</b> (group, state)
|
||
13 years ago
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
|
||
14 years ago
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>group</td><td>int</td><td></td></tr>
|
||
|
<tr><td>state</td><td>int</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>hasEffect</b> (group, state)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
|
<tr><td>group</td><td>int</td><td></td></tr>
|
||
|
<tr><td>state</td><td>int</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>init</b> ()
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>overlay</b> (src, overlay)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>src</td><td>TQImage</td><td></td></tr>
|
||
|
<tr><td>overlay</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>semiTransparent</b> (image)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>image</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>semiTransparent</b> (pixmap)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>pixmap</td><td>TQPixmap</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>toGamma</b> (image, value)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>image</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>toGray</b> (image, value)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>image</td><td>TQImage</td><td></td></tr>
|
||
14 years ago
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>toMonochrome</b> (image, black, white, value)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>image</td><td>TQImage</td><td></td></tr>
|
||
|
<tr><td>black</td><td>TQColor</td><td></td></tr>
|
||
|
<tr><td>white</td><td>TQColor</td><td></td></tr>
|
||
14 years ago
|
<tr><td>value</td><td>float</td><td></td></tr>
|
||
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
<li><b>visualActivate</b> (widget, rect)
|
||
|
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
|
||
|
<tr><td><i>static</i></td></tr>
|
||
|
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
|
||
13 years ago
|
<tr><td>widget</td><td>TQWidget</td><td></td></tr>
|
||
|
<tr><td>rect</td><td>TQRect</td><td></td></tr>
|
||
14 years ago
|
</table>
|
||
|
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
|
||
|
</ul>
|
||
|
|
||
|
</body>
|
||
|
</html>
|