FlashingLabel Class Reference
from PyKDE4.plasma import *
Inherits: QGraphicsWidget → QObject
Namespace: Plasma
Detailed Description
FlashingLabel plasma/widgets/flashinglabel.h <Plasma/Widgets/FlashingLabel>
Provides flashing text or icons inside Plasma
Methods |
| __init__ (self, QGraphicsItem parent=0) |
bool | autohide (self) |
| fadeIn (self) |
| fadeOut (self) |
| flash (self, QString text, int duration=0, QTextOption option=QTextOption(Qt.AlignCenter)) |
| flash (self, QPixmap pixmap, int duration=0, Qt.Alignment align=Qt.AlignCenter) |
| kill (self) |
| paint (self, QPainter painter, QStyleOptionGraphicsItem option, QWidget widget=0) |
| setAutohide (self, bool autohide) |
| setColor (self, QColor a0) |
| setDuration (self, int duration) |
| setFont (self, QFont a0) |
Method Documentation
flash |
( |
self, |
|
|
|
QString |
text, |
|
|
int |
duration=0, |
|
|
QTextOption |
option=QTextOption(Qt.AlignCenter) |
|
) |
|
|
|
setAutohide |
( |
self, |
|
|
|
bool |
autohide |
|
) |
|
|
|
setDuration |
( |
self, |
|
|
|
int |
duration |
|
) |
|
|
|
setFont |
( |
self, |
|
|
|
QFont |
a0 |
|
) |
|
|
|