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
25
namespace
Digikam
26
{
27
28
class
DIGIKAM_EXPORT
DProgressWdg
:
public
QProgressBar
29
{
30
Q_OBJECT
31
32
public
:
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
60
Q_SIGNALS:
61
65
void
signalProgressCanceled
();
66
67
private
Q_SLOTS:
68
69
void
slotValueChanged(
int
);
70
void
slotProgressCanceled(
const
QString&
id
);
71
72
private
:
73
74
class
Private;
75
Private*
const
d =
nullptr
;
76
};
77
78
}
// namespace Digikam
Digikam::DProgressWdg
Definition
dprogresswdg.h:29
Digikam::DProgressWdg::signalProgressCanceled
void signalProgressCanceled()
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
core
libs
progressmanager
dprogresswdg.h
Generated by
1.9.8