Pages
API Documentation
On this page

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

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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.