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
qquicktransitionmanager_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 QQUICKTRANSITIONMANAGER_P_H
6#define QQUICKTRANSITIONMANAGER_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
20#include <private/qanimationjobutil_p.h>
21
23
24class QQuickState;
25class QQuickStateAction;
27class Q_QUICK_EXPORT QQuickTransitionManager
28{
29public:
30 QQuickTransitionManager();
31 virtual ~QQuickTransitionManager();
32
33 bool isRunning() const;
34
35 void transition(const QList<QQuickStateAction> &, QQuickTransition *transition, QObject *defaultTarget = nullptr);
36
37 void cancel();
38
39 SelfDeletable m_selfDeletable;
40protected:
41 virtual void finished();
42
43private:
44 Q_DISABLE_COPY(QQuickTransitionManager)
45 QQuickTransitionManagerPrivate *d;
46
47 void complete();
48 void setState(QQuickState *);
49
50 friend class QQuickState;
51 friend class ParallelAnimationWrapper;
52};
53
54QT_END_NAMESPACE
55
56#endif // QQUICKTRANSITIONMANAGER_P_H
QQuickRevertAction(QQuickStateActionEvent *e)
QQuickRevertAction(const QQmlProperty &prop)
QQuickStateActionEvent * event
const QVariant & value() const
QQuickStateActionEvent * event() const
QQuickSimpleAction & operator=(const QQuickSimpleAction &other)
void setProperty(const QQmlProperty &property)
bool reverseEvent() const
QObject * specifiedObject() const
const QQmlProperty & property() const
void setValue(const QVariant &value)
const QString & specifiedProperty() const
QQmlAnyBinding binding() const
void setBinding(QQmlAnyBinding binding)
QQuickSimpleAction(const QQuickSimpleAction &other)
QQuickSimpleAction(const QQuickStateAction &a, State state=StartState)
SimpleActionList revertList
static void operations_append(QQmlListProperty< QQuickStateOperation > *prop, QQuickStateOperation *op)
static qsizetype operations_count(QQmlListProperty< QQuickStateOperation > *prop)
static void operations_clear(QQmlListProperty< QQuickStateOperation > *prop)
static QQuickStateOperation * operations_at(QQmlListProperty< QQuickStateOperation > *prop, qsizetype index)
QQuickTransitionManager transitionManager
QList< QQuickRevertAction > reverting
static void operations_removeLast(QQmlListProperty< QQuickStateOperation > *prop)
QList< OperationGuard > operations
static void operations_replace(QQmlListProperty< QQuickStateOperation > *prop, qsizetype index, QQuickStateOperation *op)
QQuickStateGroup * group
QList< OperationGuard > * list
OperationGuard(QObject *obj, QList< OperationGuard > *l)