digiKam
Loading...
Searching...
No Matches
dprogresswdg.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2012-01-26
7 * Description : a progress bar with information dispatched to progress manager
8 *
9 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Qt includes
18
19#include <QProgressBar>
20
21// Local includes
22
23#include "digikam_export.h"
24
25namespace Digikam
26{
27
28class DIGIKAM_EXPORT DProgressWdg : public QProgressBar
29{
30 Q_OBJECT
31
32public:
33
34 explicit DProgressWdg(QWidget* const parent);
35 ~DProgressWdg() override;
36
43 void progressScheduled(const QString& title, bool canBeCanceled, bool hasThumb);
44
48 void progressThumbnailChanged(const QPixmap& thumb);
49
53 void progressStatusChanged(const QString& status);
54
58 void progressCompleted();
59
60Q_SIGNALS:
61
66
67private Q_SLOTS:
68
69 void slotValueChanged(int);
70 void slotProgressCanceled(const QString& id);
71
72private:
73
74 class Private;
75 Private* const d = nullptr;
76};
77
78} // namespace Digikam
Definition dprogresswdg.h:29
Definition datefolderview.cpp:34