• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Plasma

Plasma::FlashingLabel

Plasma::FlashingLabel Class Reference

Provides flashing text or icons inside Plasma. More...

#include <Plasma/Widgets/FlashingLabel>

Inheritance diagram for Plasma::FlashingLabel:

Inheritance graph
[legend]

List of all members.


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:
  • flashinglabel.h
  • flashinglabel.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal