PyKDE - Python Bindings for KDE
class KLed
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KLed
Inherits
QWidget
enums
Look
= {Flat, Raised, Sunken }
Shape
= {Rectangular, Circular }
State
= {Off, On }
methods
KLed
(parent = 0, name = 0)
returns
a KLed instance
Argument
Type
Default
parent
QWidget
0
name
char
0
KLed
(col, parent = 0, name = 0)
Not Implemented
KLed
(col, state, look, shape, parent = 0, name = 0)
returns
a KLed instance
Argument
Type
Default
col
QColor
state
KLed.State
look
KLed.Look
shape
KLed.Shape
parent
QWidget
0
name
char
0
color
()
returns
(QColor)
darkFactor
()
returns
(int)
ensureRoundLed
()
returns
(int)
In versions KDE 3.3.0 and above only
look
()
returns
(Look)
minimumSizeHint
()
returns
(QSize)
off
()
returns
nothing
on
()
returns
nothing
paintCachedPixmap
()
returns
(bool)
In versions KDE 3.3.0 and above only
paintEvent
(a0)
returns
nothing
Argument
Type
Default
a0
QPaintEvent
paintFlat
()
returns
nothing
paintRect
()
returns
nothing
paintRectFrame
(raised)
returns
nothing
Argument
Type
Default
raised
bool
paintRound
()
returns
nothing
paintSunken
()
returns
nothing
setColor
(color)
returns
nothing
Argument
Type
Default
color
QColor
setDarkFactor
(darkfactor)
returns
nothing
Argument
Type
Default
darkfactor
int
setLook
(look)
returns
nothing
Argument
Type
Default
look
KLed.Look
setShape
(s)
returns
nothing
Argument
Type
Default
s
KLed.Shape
setState
(state)
returns
nothing
Argument
Type
Default
state
KLed.State
shape
()
returns
(Shape)
sizeHint
()
returns
(QSize)
state
()
returns
(State)
toggle
()
returns
nothing
toggleState
()
returns
nothing