digiKam
workingwidget.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 : 2010-07-27
7
* Description : Widget showing a throbber ("working" animation)
8
*
9
* Copyright (C) 2010 by Martin Klapetek <martin dot klapetek at gmail dot com>
10
* Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
*
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option)
16
* any later version.
17
*
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
22
*
23
* ============================================================ */
24
25
#ifndef DIGIKAM_WORKING_WIDGET_H
26
#define DIGIKAM_WORKING_WIDGET_H
27
28
// Qt includes
29
30
#include <QLabel>
31
32
// Local includes
33
34
#include "
digikam_export.h
"
35
36
namespace
Digikam
37
{
38
39
class
DIGIKAM_EXPORT
WorkingWidget
:
public
QLabel
40
{
41
Q_OBJECT
42
43
public
:
44
45
explicit
WorkingWidget
(QWidget*
const
parent =
nullptr
);
46
~
WorkingWidget
()
override
;
47
48
Q_SIGNALS:
49
50
void
animationStep
();
51
52
public
Q_SLOTS:
53
54
void
toggleTimer(
bool
turnOn =
false
);
55
56
private
Q_SLOTS:
57
58
void
slotChangeImage();
59
60
private
:
61
62
class
Private;
63
Private*
const
d;
64
};
65
66
}
// namespace Digikam
67
68
#endif
// DIGIKAM_WORKING_WIDGET_H
Digikam::WorkingWidget
Definition:
workingwidget.h:40
Digikam::WorkingWidget::animationStep
void animationStep()
digikam_export.h
Digikam
Definition:
datefolderview.cpp:43
core
libs
progressmanager
workingwidget.h
Generated by
1.9.1