Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickanimator_p_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKANIMATOR_P_P_H
6
#
define
QQUICKANIMATOR_P_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"qquickanimator_p.h"
20
#
include
"qquickanimation_p_p.h"
21
#
include
<
QtQuick
/
qquickitem
.
h
>
22
23
#
include
<
QtCore
/
qpointer
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
QQuickAnimatorJob;
28
29
class
QQuickAnimatorPrivate
:
public
QQuickAbstractAnimationPrivate
30
{
31
Q_DECLARE_PUBLIC(QQuickAnimator)
32
public
:
33
QQuickAnimatorPrivate
()
34
:
target
(0)
35
,
duration
(250)
36
,
from
(0)
37
,
to
(0)
38
,
fromIsDefined
(
false
)
39
,
toIsDefined
(
false
)
40
{
41
}
42
43
QPointer
<
QQuickItem
>
target
;
44
int
duration
;
45
QEasingCurve
easing
;
46
qreal
from
;
47
qreal
to
;
48
49
uint
fromIsDefined
: 1;
50
uint
toIsDefined
: 1;
51
52
void
apply
(QQuickAnimatorJob *job,
const
QString &propertyName,
QQuickStateActions
&actions,
QQmlProperties
&modified, QObject *defaultTarget);
53
};
54
55
class
QQuickRotationAnimatorPrivate
:
public
QQuickAnimatorPrivate
56
{
57
public
:
58
QQuickRotationAnimatorPrivate
()
59
:
direction
(
QQuickRotationAnimator
::
Numerical
)
60
{
61
}
62
QQuickRotationAnimator
::
RotationDirection
direction
;
63
};
64
65
#
if
QT_CONFIG
(
quick_shadereffect
)
66
class
QQuickUniformAnimatorPrivate :
public
QQuickAnimatorPrivate
67
{
68
public
:
69
QString uniform;
70
};
71
#
endif
72
73
QT_END_NAMESPACE
74
75
#
endif
// QQUICKANIMATOR_P_P_H
QQuickAnimatorPrivate
Definition
qquickanimator_p_p.h:30
QQuickAnimatorPrivate::from
qreal from
Definition
qquickanimator_p_p.h:46
QQuickAnimatorPrivate::fromIsDefined
uint fromIsDefined
Definition
qquickanimator_p_p.h:49
QQuickAnimatorPrivate::easing
QEasingCurve easing
Definition
qquickanimator_p_p.h:45
QQuickAnimatorPrivate::toIsDefined
uint toIsDefined
Definition
qquickanimator_p_p.h:50
QQuickAnimatorPrivate::to
qreal to
Definition
qquickanimator_p_p.h:47
QQuickAnimatorPrivate::duration
int duration
Definition
qquickanimator_p_p.h:44
QQuickAnimatorPrivate::apply
void apply(QQuickAnimatorJob *job, const QString &propertyName, QQuickStateActions &actions, QQmlProperties &modified, QObject *defaultTarget)
Definition
qquickanimator.cpp:183
QQuickRotationAnimatorPrivate
Definition
qquickanimator_p_p.h:56
QQuickRotationAnimatorPrivate::QQuickRotationAnimatorPrivate
QQuickRotationAnimatorPrivate()
Definition
qquickanimator_p_p.h:58
QPlatformGraphicsBufferHelper
\inmodule QtGui
QQmlProperties
QList< QQmlProperty > QQmlProperties
Definition
qqmlproperty.h:106
QQuickStateActions
QQuickStateOperation::ActionList QQuickStateActions
Definition
qquickstate_p.h:118
qtdeclarative
src
quick
util
qquickanimator_p_p.h
Generated on
for Qt by
1.14.0