digiKam
Loading...
Searching...
No Matches
dsplashscreen.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 : 2003-02-10
7
* Description : a widget to display splash with progress bar
8
*
9
* SPDX-FileCopyrightText: 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
10
* SPDX-FileCopyrightText: 2006-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 <QPainter>
21
#include <QSplashScreen>
22
23
// Local includes
24
25
#include "
digikam_export.h
"
26
27
namespace
Digikam
28
{
29
30
class
DIGIKAM_EXPORT
DSplashScreen
:
public
QSplashScreen
31
{
32
Q_OBJECT
33
34
public
:
35
36
DSplashScreen
();
37
~DSplashScreen
()
override
;
38
39
void
setColor(
const
QColor& color);
40
void
setMessage(
const
QString& message);
41
42
protected
:
43
44
void
drawContents(QPainter*)
override
;
45
46
private
Q_SLOTS:
47
48
void
slotAnimate();
49
50
private
:
51
52
// Disable
53
explicit
DSplashScreen
(QWidget*) =
delete
;
54
55
private
:
56
57
class
Private;
58
Private*
const
d =
nullptr
;
59
};
60
61
}
// namespace Digikam
Digikam::DSplashScreen
Definition
dsplashscreen.h:31
digikam_export.h
Digikam
Definition
datefolderview.cpp:34
core
libs
dialogs
dsplashscreen.h
Generated by
1.9.8