PyKDE - Python Bindings for KDE
class KIconEffect
Table of contents
Modules
tdecore Classes
All Classes
Module
tdecore
Class
KIconEffect
Inherits
enums
Effects
= {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, ToMonochrome, LastEffect }
Effects
= {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, LastEffect }
methods
KIconEffect
()
returns
a KIconEffect instance
apply
(src, group, state)
returns
(TQImage)
Argument
Type
Default
src
TQImage
group
int
state
int
apply
(src, effect, value, rgb, trans)
returns
(TQImage)
Argument
Type
Default
src
TQImage
effect
int
value
float
rgb
TQColor
trans
bool
apply
(src, effect, value, rgb, rgb2, trans)
returns
(TQImage)
In versions KDE 3.4.0 and above only
Argument
Type
Default
src
TQImage
effect
int
value
float
rgb
TQColor
rgb2
TQColor
trans
bool
apply
(src, group, state)
returns
(TQPixmap)
Argument
Type
Default
src
TQPixmap
group
int
state
int
apply
(src, effect, value, rgb, trans)
returns
(TQPixmap)
Argument
Type
Default
src
TQPixmap
effect
int
value
float
rgb
TQColor
trans
bool
apply
(src, effect, value, rgb, rgb2, trans)
returns
(TQPixmap)
In versions KDE 3.4.0 and above only
Argument
Type
Default
src
TQPixmap
effect
int
value
float
rgb
TQColor
rgb2
TQColor
trans
bool
colorize
(image, col, value)
returns
nothing
static
Argument
Type
Default
image
TQImage
col
TQColor
value
float
deSaturate
(image, value)
returns
nothing
static
Argument
Type
Default
image
TQImage
value
float
doublePixels
(src)
returns
(TQImage)
Argument
Type
Default
src
TQImage
fingerprint
(group, state)
returns
(TQString)
Argument
Type
Default
group
int
state
int
hasEffect
(group, state)
returns
(bool)
Argument
Type
Default
group
int
state
int
init
()
returns
nothing
overlay
(src, overlay)
returns
nothing
static
Argument
Type
Default
src
TQImage
overlay
TQImage
semiTransparent
(image)
returns
nothing
static
Argument
Type
Default
image
TQImage
semiTransparent
(pixmap)
returns
nothing
static
Argument
Type
Default
pixmap
TQPixmap
toGamma
(image, value)
returns
nothing
static
Argument
Type
Default
image
TQImage
value
float
toGray
(image, value)
returns
nothing
static
Argument
Type
Default
image
TQImage
value
float
toMonochrome
(image, black, white, value)
returns
nothing
In versions KDE 3.4.0 and above only
static
Argument
Type
Default
image
TQImage
black
TQColor
white
TQColor
value
float
visualActivate
(widget, rect)
returns
nothing
static
Argument
Type
Default
widget
TQWidget
rect
TQRect