KDEUI
kpixmapsequenceoverlaypainter.cpp
Go to the documentation of this file.
78 p.drawPixmap(pixmapRect(), sequence().frameAt(m_counter), QRect(QPoint(0, 0), sequence().frameSize()));
Loads and gives access to the frames of a typical multi-row pixmap as often used for spinners...
Definition: kpixmapsequence.h:45
QRect rect() const
The optional rect to draw the pixmaps in.
Definition: kpixmapsequenceoverlaypainter.cpp:147
Qt::Alignment alignment() const
The alignment of the pixmaps in the rect.
Definition: kpixmapsequenceoverlaypainter.cpp:161
int timeout
void setRect(const QRect &rect)
Set the rect in which to place the sequence.
Definition: kpixmapsequenceoverlaypainter.cpp:195
void setWidget(QWidget *w)
Set the widget to draw the overlay on.
Definition: kpixmapsequenceoverlaypainter.cpp:188
void setInterval(int msecs)
Set the interval between frames.
Definition: kpixmapsequenceoverlaypainter.cpp:182
QPoint offset() const
The optional offset within the rect.
Definition: kpixmapsequenceoverlaypainter.cpp:167
void setOffset(const QPoint &offset)
Set the offset relative to the placement determined by alignment and rect.
Definition: kpixmapsequenceoverlaypainter.cpp:213
void setAlignment(Qt::Alignment align)
Set the alignment of the sequence in rect.
Definition: kpixmapsequenceoverlaypainter.cpp:204
void setSequence(const KPixmapSequence &seq)
Set the sequence to be used.
Definition: kpixmapsequenceoverlaypainter.cpp:173
KPixmapSequenceOverlayPainter(QObject *parent=0)
Constructor.
Definition: kpixmapsequenceoverlaypainter.cpp:115
Paints a KPixmapSequence on top of any widget at any position.
Definition: kpixmapsequenceoverlaypainter.h:46
KPixmapSequence sequence() const
The sequence used to draw the overlay.
Definition: kpixmapsequenceoverlaypainter.cpp:135
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.