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 90 of file flashinglabel.cpp.
FlashingLabel::~FlashingLabel | ( | ) | [virtual] |
Definition at line 100 of file flashinglabel.cpp.
Member Function Documentation
bool FlashingLabel::autohide | ( | ) | const |
Definition at line 162 of file flashinglabel.cpp.
void FlashingLabel::fadeIn | ( | ) | [protected, slot] |
Definition at line 175 of file flashinglabel.cpp.
void FlashingLabel::fadeOut | ( | ) | [protected, slot] |
Definition at line 187 of file flashinglabel.cpp.
void FlashingLabel::flash | ( | const QPixmap & | pixmap, | |
int | duration = 0 , |
|||
Qt::Alignment | align = Qt::AlignCenter | |||
) |
Definition at line 137 of file flashinglabel.cpp.
void FlashingLabel::flash | ( | const QString & | text, | |
int | duration = 0 , |
|||
const QTextOption & | option = QTextOption(Qt::AlignCenter) | |||
) |
Definition at line 124 of file flashinglabel.cpp.
void FlashingLabel::kill | ( | ) | [slot] |
Definition at line 167 of file flashinglabel.cpp.
void FlashingLabel::paint | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option, | |||
QWidget * | widget = 0 | |||
) |
Definition at line 199 of file flashinglabel.cpp.
void FlashingLabel::setAutohide | ( | bool | autohide | ) |
Definition at line 149 of file flashinglabel.cpp.
void FlashingLabel::setColor | ( | const QColor & | color | ) |
Definition at line 114 of file flashinglabel.cpp.
void FlashingLabel::setDuration | ( | int | duration | ) |
Definition at line 105 of file flashinglabel.cpp.
void FlashingLabel::setFont | ( | const QFont & | font | ) |
Definition at line 119 of file flashinglabel.cpp.
The documentation for this class was generated from the following files: