Plasma
Plasma::FlashingLabel Class Reference
Provides flashing text or icons inside Plasma. More...
#include <Plasma/Widgets/FlashingLabel>

Public Slots | |
| void | kill () |
Public Member Functions | |
| bool | autohide () const |
| void | flash (const QPixmap &pixmap, int duration=0, Qt::Alignment align=Qt::AlignCenter) |
| void | flash (const QString &text, int duration=0, const QTextOption &option=QTextOption(Qt::AlignCenter)) |
| FlashingLabel (QGraphicsItem *parent=0) | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
| void | setAutohide (bool autohide) |
| void | setColor (const QColor &) |
| void | setDuration (int duration) |
| void | setFont (const QFont &) |
| virtual | ~FlashingLabel () |
Protected Slots | |
| void | fadeIn () |
| void | fadeOut () |
Detailed Description
Provides flashing text or icons inside Plasma.Definition at line 39 of file flashinglabel.h.
Constructor & Destructor Documentation
| FlashingLabel::FlashingLabel | ( | QGraphicsItem * | parent = 0 |
) | [explicit] |
Definition at line 91 of file flashinglabel.cpp.
| FlashingLabel::~FlashingLabel | ( | ) | [virtual] |
Definition at line 101 of file flashinglabel.cpp.
Member Function Documentation
| bool FlashingLabel::autohide | ( | ) | const |
Definition at line 163 of file flashinglabel.cpp.
| void FlashingLabel::fadeIn | ( | ) | [protected, slot] |
Definition at line 176 of file flashinglabel.cpp.
| void FlashingLabel::fadeOut | ( | ) | [protected, slot] |
Definition at line 188 of file flashinglabel.cpp.
| void FlashingLabel::flash | ( | const QPixmap & | pixmap, | |
| int | duration = 0, |
|||
| Qt::Alignment | align = Qt::AlignCenter | |||
| ) |
Definition at line 138 of file flashinglabel.cpp.
| void FlashingLabel::flash | ( | const QString & | text, | |
| int | duration = 0, |
|||
| const QTextOption & | option = QTextOption(Qt::AlignCenter) | |||
| ) |
Definition at line 125 of file flashinglabel.cpp.
| void FlashingLabel::kill | ( | ) | [slot] |
Definition at line 168 of file flashinglabel.cpp.
| void FlashingLabel::paint | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| QWidget * | widget = 0 | |||
| ) |
Definition at line 200 of file flashinglabel.cpp.
| void FlashingLabel::setAutohide | ( | bool | autohide | ) |
Definition at line 150 of file flashinglabel.cpp.
| void FlashingLabel::setColor | ( | const QColor & | color | ) |
Definition at line 115 of file flashinglabel.cpp.
| void FlashingLabel::setDuration | ( | int | duration | ) |
Definition at line 106 of file flashinglabel.cpp.
| void FlashingLabel::setFont | ( | const QFont & | font | ) |
Definition at line 120 of file flashinglabel.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference