Qt
6.x
The Qt SDK
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
4
#ifndef QQUICKANIMATOR_P_P_H
5
#define QQUICKANIMATOR_P_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include "
qquickanimator_p.h
"
19
#include "
qquickanimation_p_p.h
"
20
#include <QtQuick/qquickitem.h>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QQuickAnimatorJob
;
25
26
class
QQuickAnimatorPrivate
:
public
QQuickAbstractAnimationPrivate
27
{
28
Q_DECLARE_PUBLIC(
QQuickAnimator
)
29
public
:
30
QQuickAnimatorPrivate
()
31
:
target
(0)
32
,
duration
(250)
33
,
from
(0)
34
,
to
(0)
35
,
fromIsDefined
(
false
)
36
,
toIsDefined
(
false
)
37
{
38
}
39
40
QPointer<QQuickItem>
target
;
41
int
duration
;
42
QEasingCurve
easing
;
43
qreal
from
;
44
qreal
to
;
45
46
uint
fromIsDefined
: 1;
47
uint
toIsDefined
: 1;
48
49
void
apply
(
QQuickAnimatorJob
*job,
const
QString
&propertyName,
QQuickStateActions
&actions,
QQmlProperties
&modified,
QObject
*defaultTarget);
50
};
51
52
class
QQuickRotationAnimatorPrivate
:
public
QQuickAnimatorPrivate
53
{
54
public
:
55
QQuickRotationAnimatorPrivate
()
56
:
direction
(
QQuickRotationAnimator
::Numerical)
57
{
58
}
59
QQuickRotationAnimator::RotationDirection
direction
;
60
};
61
62
#if QT_CONFIG(quick_shadereffect)
63
class
QQuickUniformAnimatorPrivate :
public
QQuickAnimatorPrivate
64
{
65
public
:
66
QString
uniform;
67
};
68
#endif
69
70
QT_END_NAMESPACE
71
72
#endif
// QQUICKANIMATOR_P_P_H
QEasingCurve
\inmodule QtCore
Definition
qeasingcurve.h:19
QList< QQuickStateAction >
QObject
\inmodule QtCore
Definition
qobject.h:90
QPointer
\inmodule QtCore
Definition
qpointer.h:18
QQuickAbstractAnimationPrivate
Definition
qquickanimation_p_p.h:138
QQuickAnimatorJob
Definition
qquickanimatorjob_p.h:81
QQuickAnimatorPrivate
Definition
qquickanimator_p_p.h:27
QQuickAnimatorPrivate::from
qreal from
Definition
qquickanimator_p_p.h:43
QQuickAnimatorPrivate::QQuickAnimatorPrivate
QQuickAnimatorPrivate()
Definition
qquickanimator_p_p.h:30
QQuickAnimatorPrivate::fromIsDefined
uint fromIsDefined
Definition
qquickanimator_p_p.h:46
QQuickAnimatorPrivate::easing
QEasingCurve easing
Definition
qquickanimator_p_p.h:42
QQuickAnimatorPrivate::toIsDefined
uint toIsDefined
Definition
qquickanimator_p_p.h:47
QQuickAnimatorPrivate::target
QPointer< QQuickItem > target
Definition
qquickanimator_p_p.h:40
QQuickAnimatorPrivate::to
qreal to
Definition
qquickanimator_p_p.h:44
QQuickAnimatorPrivate::duration
int duration
Definition
qquickanimator_p_p.h:41
QQuickAnimatorPrivate::apply
void apply(QQuickAnimatorJob *job, const QString &propertyName, QQuickStateActions &actions, QQmlProperties &modified, QObject *defaultTarget)
Definition
qquickanimator.cpp:182
QQuickAnimator
Definition
qquickanimator_p.h:27
QQuickRotationAnimatorPrivate
Definition
qquickanimator_p_p.h:53
QQuickRotationAnimatorPrivate::QQuickRotationAnimatorPrivate
QQuickRotationAnimatorPrivate()
Definition
qquickanimator_p_p.h:55
QQuickRotationAnimatorPrivate::direction
QQuickRotationAnimator::RotationDirection direction
Definition
qquickanimator_p_p.h:59
QQuickRotationAnimator
Definition
qquickanimator_p.h:126
QQuickRotationAnimator::RotationDirection
RotationDirection
Definition
qquickanimator_p.h:134
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
target
GLenum target
Definition
qopengles2ext.h:751
qquickanimation_p_p.h
qquickanimator_p.h
uint
unsigned int uint
Definition
qtypes.h:29
qreal
double qreal
Definition
qtypes.h:92
false
return false
Definition
src_corelib_thread_qatomic.cpp:23
qtdeclarative
src
quick
util
qquickanimator_p_p.h
Generated by
1.9.7