DtkWidget
5.6.0.2
DTK Widget module
src
widgets
private
dloadingindicator_p.h
1
// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DLOADINGINDICATOR_P
6
#define DLOADINGINDICATOR_P
7
8
#include <DObjectPrivate>
9
10
#include <dloadingindicator.h>
11
12
DWIDGET_BEGIN_NAMESPACE
13
14
class
DLoadingIndicatorPrivate
:
public
DTK_CORE_NAMESPACE::DObjectPrivate
15
{
16
DLoadingIndicatorPrivate
(
DLoadingIndicator
*qq);
17
18
void
init();
19
void
setLoadingItem(QGraphicsItem *item);
20
21
QVariantAnimation
rotateAni;
22
bool
loading;
23
QWidget *widgetSource = NULL;
24
bool
smooth =
false
;
25
DLoadingIndicator::RotationDirection
direction = DLoadingIndicator::Clockwise;
26
27
D_DECLARE_PUBLIC(
DLoadingIndicator
)
28
};
29
30
DWIDGET_END_NAMESPACE
31
32
#endif
// DLOADINGINDICATOR_P
33
Dtk::Widget::DLoadingIndicatorPrivate
Definition:
dloadingindicator_p.h:15
Dtk::Widget::DLoadingIndicator
The DLoadingIndicator class provides a widget that showing loading animation.
Definition:
dloadingindicator.h:27
Dtk::Widget::DLoadingIndicator::RotationDirection
RotationDirection
The RotationDirection enum contains the possible rotation directions of the DLoadingIndicator widget.
Definition:
dloadingindicator.h:45
QVariantAnimation
制作者
1.9.3