digiKam
Loading...
Searching...
No Matches
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 * SPDX-FileCopyrightText: 2010 by Martin Klapetek <martin dot klapetek at gmail dot com>
10 * SPDX-FileCopyrightText: 2010-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Qt includes
19
20#include <QLabel>
21
22// Local includes
23
24#include "digikam_export.h"
25
26namespace Digikam
27{
28
29class DIGIKAM_EXPORT WorkingWidget : public QLabel
30{
31 Q_OBJECT
32
33public:
34
35 explicit WorkingWidget(QWidget* const parent = nullptr);
36 ~WorkingWidget() override;
37
38Q_SIGNALS:
39
41
42public Q_SLOTS:
43
44 void toggleTimer(bool turnOn = false);
45
46private Q_SLOTS:
47
48 void slotChangeImage();
49
50private:
51
52 class Private;
53 Private* const d = nullptr;
54};
55
56} // namespace Digikam
Definition workingwidget.h:30
Definition datefolderview.cpp:34