KPixmapSequenceWidget Class
A simple widget showing a fixed size pixmap sequence. More...
- Header:
#include <KPixmapSequenceWidget> - CMake:
find_package(KF6 REQUIRED COMPONENTS WidgetsAddons)
target_link_libraries(mytarget PRIVATE KF6::WidgetsAddons) - Inherits: QWidget
List of all members, including inherited members
Public Functions
- KPixmapSequenceWidget(QWidget *parent = nullptr)
- KPixmapSequenceWidget(const KPixmapSequence &seq, QWidget *parent = nullptr)
- int interval() const
- KPixmapSequence sequence() const
Public Slots
Detailed Description
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.
Member Function Documentation
[explicit] KPixmapSequenceWidget::KPixmapSequenceWidget(QWidget *parent = nullptr)
Constructor
KPixmapSequenceWidget::KPixmapSequenceWidget(const KPixmapSequence &seq, QWidget *parent = nullptr)
int KPixmapSequenceWidget::interval() const
The interval between frames.
Note: Getter function for property interval.
See also setInterval, KPixmapSequenceOverlayPainter::interval
KPixmapSequence KPixmapSequenceWidget::sequence() const
The sequence used to draw the overlay.
See also setSequence
[slot] void KPixmapSequenceWidget::setInterval(int msecs)
Set the interval between frames. The default is 200.
Note: Setter function for property interval.
See also interval, KPixmapSequenceOverlayPainter::setInterval
[slot] void KPixmapSequenceWidget::setSequence(const KPixmapSequence &seq)
Set the sequence to be used. By default the KDE busy sequence is used.
See also sequence()