kpimutils
21 #include "progressindicatorlabel.h"
22 #include "progressindicatorwidget.h"
24 #include <QHBoxLayout>
27 class ProgressIndicatorLabelPrivate
30 ProgressIndicatorLabelPrivate(
const QString &_label, ProgressIndicatorLabel *qq)
37 indicator =
new ProgressIndicatorWidget;
43 ~ProgressIndicatorLabelPrivate()
47 void setActiveLabel(
const QString &str)
49 if (indicator->isActive()) {
57 label->setText(labelStr);
68 ProgressIndicatorWidget *indicator;
69 ProgressIndicatorLabel *q;
72 ProgressIndicatorLabel::ProgressIndicatorLabel(
const QString &label,
QWidget *parent)
74 d(new ProgressIndicatorLabelPrivate(label, this))
78 ProgressIndicatorLabel::ProgressIndicatorLabel(
QWidget *parent)
80 d(new ProgressIndicatorLabelPrivate(
QString(), this))
84 ProgressIndicatorLabel::~ProgressIndicatorLabel()
89 void ProgressIndicatorLabel::start()
94 void ProgressIndicatorLabel::stop()
99 void ProgressIndicatorLabel::setActiveLabel(
const QString &label)
101 d->setActiveLabel(label);
void setMargin(int margin)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:25 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.