KPIM::ProgressIndicatorLabel Class

The ProgressIndicatorLabel class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <KPIM/ProgressIndicatorLabel>
CMake: find_package(KPim6Libkdepim REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::Libkdepim)

Public Functions

ProgressIndicatorLabel(QWidget *parent = nullptr)
ProgressIndicatorLabel(const QString &labelStr, QWidget *parent = nullptr)
virtual ~ProgressIndicatorLabel() override
void setActiveLabel(const QString &label)

Public Slots

void start()
void stop()

Detailed Description

Member Function Documentation

[explicit] ProgressIndicatorLabel::ProgressIndicatorLabel(QWidget *parent = nullptr)

Constructor for ProgressIndicatorLabel without a label. parent the parent widget

[explicit] ProgressIndicatorLabel::ProgressIndicatorLabel(const QString &labelStr, QWidget *parent = nullptr)

Constructor for ProgressIndicatorLabel with a label string. labelStr the label text to display parent the parent widget

[override virtual noexcept] ProgressIndicatorLabel::~ProgressIndicatorLabel()

Destructor for ProgressIndicatorLabel.

void ProgressIndicatorLabel::setActiveLabel(const QString &label)

Sets the active label text. label the new label text

[slot] void ProgressIndicatorLabel::start()

Starts the progress indicator animation.

[slot] void ProgressIndicatorLabel::stop()

Stops the progress indicator animation.