PyKDE - Python Bindings for KDE
class KPixmap
Table of contents
Modules
kdefx Classes
All Classes
Module
kdefx
Class
KPixmap
Inherits
TQPixmap
enums
ColorMode
= {Auto, Color, Mono, LowColor, WebColor }
GradientMode
= {Horizontal, Vertical, Diagonal, CrossDiagonal }
methods
KPixmap
()
returns
a KPixmap instance
KPixmap
(pix)
returns
a KPixmap instance
Argument
Type
Default
pix
TQPixmap
checkColorTable
(image)
returns
(bool)
Argument
Type
Default
image
TQImage
convertFromImage
(img, conversion_flags)
returns
(bool)
Argument
Type
Default
img
TQImage
conversion_flags
int
convertFromImage
(img, mode = WebColor)
returns
(bool)
Argument
Type
Default
img
TQImage
mode
ColorMode
WebColor
load
(fileName, format, conversion_flags)
returns
(bool)
Argument
Type
Default
fileName
TQString
format
char
conversion_flags
int
load
(fileName, format = 0, mode = WebColor)
returns
(bool)
Argument
Type
Default
fileName
TQString
format
char
0
mode
ColorMode
WebColor