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.
pytde/doc/classref/tdecore/TDEIconEffect.html

206 lines
10 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class TDEIconEffect</title>
<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%">
<h1>class TDEIconEffect</h1><hr>
</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>
<tr><td align="right"><a href="index.html">tdecore Classes</a></td></tr>
<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>
<td width="30%" align=left>tdecore</td>
</tr>
<tr><td>Class</td>
<td>TDEIconEffect</td>
</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>
<li><b>TDEIconEffect</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconEffect instance</i></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)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>src</td><td>TQImage</td><td></td></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>apply</b> (src, effect, value, rgb, trans)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>src</td><td>TQImage</td><td></td></tr>
<tr><td>effect</td><td>int</td><td></td></tr>
<tr><td>value</td><td>float</td><td></td></tr>
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
<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)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
<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>
<tr><td>src</td><td>TQImage</td><td></td></tr>
<tr><td>effect</td><td>int</td><td></td></tr>
<tr><td>value</td><td>float</td><td></td></tr>
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
<tr><td>rgb2</td><td>TQColor</td><td></td></tr>
<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)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>src</td><td>TQPixmap</td><td></td></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>apply</b> (src, effect, value, rgb, trans)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>src</td><td>TQPixmap</td><td></td></tr>
<tr><td>effect</td><td>int</td><td></td></tr>
<tr><td>value</td><td>float</td><td></td></tr>
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
<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)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr>
<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>
<tr><td>src</td><td>TQPixmap</td><td></td></tr>
<tr><td>effect</td><td>int</td><td></td></tr>
<tr><td>value</td><td>float</td><td></td></tr>
<tr><td>rgb</td><td>TQColor</td><td></td></tr>
<tr><td>rgb2</td><td>TQColor</td><td></td></tr>
<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>
<tr><td>image</td><td>TQImage</td><td></td></tr>
<tr><td>col</td><td>TQColor</td><td></td></tr>
<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>
<tr><td>image</td><td>TQImage</td><td></td></tr>
<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)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>src</td><td>TQImage</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>fingerprint</b> (group, state)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</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>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>
<tr><td>src</td><td>TQImage</td><td></td></tr>
<tr><td>overlay</td><td>TQImage</td><td></td></tr>
</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>
<tr><td>image</td><td>TQImage</td><td></td></tr>
</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>
<tr><td>pixmap</td><td>TQPixmap</td><td></td></tr>
</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>
<tr><td>image</td><td>TQImage</td><td></td></tr>
<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>
<tr><td>image</td><td>TQImage</td><td></td></tr>
<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>
<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>
<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>
<tr><td>widget</td><td>TQWidget</td><td></td></tr>
<tr><td>rect</td><td>TQRect</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
</ul>
</body>
</html>