KDEUI
#include <KPixmapSequenceWidget>

Public Slots | |
| void | setInterval (int msecs) |
| void | setSequence (const KPixmapSequence &seq) |
Public Member Functions | |
| KPixmapSequenceWidget (QWidget *parent=0) | |
| ~KPixmapSequenceWidget () | |
| int | interval () const |
| KPixmapSequence | sequence () const |
| QSize | sizeHint () const |
Properties | |
| int | interval |
Detailed Description
A simple widget showing a fixed size pixmap sequence.
The KPixmapSequenceWidget uses the KPixmapSequenceOverlayPainter to show a sequence of pixmaps. It is intended as a simple wrapper around the KPixmapSequenceOverlayPainter in case a widget is more appropriate than an event filter.
- Since
- 4.4
Definition at line 43 of file kpixmapsequencewidget.h.
Constructor & Destructor Documentation
| KPixmapSequenceWidget::KPixmapSequenceWidget | ( | QWidget * | parent = 0 | ) |
Constructor.
Definition at line 34 of file kpixmapsequencewidget.cpp.
| KPixmapSequenceWidget::~KPixmapSequenceWidget | ( | ) |
Destructor.
Definition at line 43 of file kpixmapsequencewidget.cpp.
Member Function Documentation
| int KPixmapSequenceWidget::interval | ( | ) | const |
The interval between frames.
| KPixmapSequence KPixmapSequenceWidget::sequence | ( | ) | const |
The sequence used to draw the overlay.
- See also
- setSequence
Definition at line 49 of file kpixmapsequencewidget.cpp.
|
slot |
Set the interval between frames.
The default is 200.
Definition at line 83 of file kpixmapsequencewidget.cpp.
|
slot |
Set the sequence to be used.
By default the KDE busy sequence is used.
Definition at line 70 of file kpixmapsequencewidget.cpp.
| QSize KPixmapSequenceWidget::sizeHint | ( | void | ) | const |
Definition at line 61 of file kpixmapsequencewidget.cpp.
Property Documentation
|
readwrite |
Definition at line 46 of file kpixmapsequencewidget.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference