Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickstatechangescript_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
QQUICKSTATEOPERATIONS_H
6
#
define
QQUICKSTATEOPERATIONS_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
"qquickstate_p.h"
20
#
include
<
qqmlscriptstring
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
class
QQuickStateChangeScriptPrivate;
25
class
Q_QUICK_EXPORT
QQuickStateChangeScript
:
public
QQuickStateOperation,
public
QQuickStateActionEvent
26
{
27
Q_OBJECT
28
Q_DECLARE_PRIVATE(QQuickStateChangeScript)
29
30
Q_PROPERTY(QQmlScriptString script READ script WRITE setScript)
31
Q_PROPERTY(QString name READ name WRITE setName)
32
QML_NAMED_ELEMENT(StateChangeScript)
33
QML_ADDED_IN_VERSION(2, 0)
34
35
public
:
36
QQuickStateChangeScript(QObject *parent=
nullptr
);
37
38
ActionList actions() override;
39
40
EventType type()
const
override;
41
42
QQmlScriptString script()
const
;
43
void
setScript(
const
QQmlScriptString &);
44
45
QString name()
const
;
46
void
setName(
const
QString &);
47
48
void
execute() override;
49
};
50
51
52
QT_END_NAMESPACE
53
54
#
endif
// QQUICKSTATEOPERATIONS_H
QQmlProperty
The QQmlProperty class abstracts accessing properties on objects created from QML.
Definition
qqmlproperty.h:24
QQuickPropertyChangesParser
Definition
qquickpropertychanges_p.h:74
QQuickPropertyChangesParser::verifyBindings
void verifyBindings(const QQmlRefPointer< QV4::CompiledData::CompilationUnit > &compilationUnit, const QList< const QV4::CompiledData::Binding * > &props) override
Definition
qquickpropertychanges.cpp:339
QQuickPropertyChangesParser::verifyList
void verifyList(const QQmlRefPointer< QV4::CompiledData::CompilationUnit > &compilationUnit, const QV4::CompiledData::Binding *binding)
Definition
qquickpropertychanges.cpp:218
QQuickPropertyChangesParser::QQuickPropertyChangesParser
QQuickPropertyChangesParser()
Definition
qquickpropertychanges_p.h:76
QQuickPropertyChangesParser::applyBindings
void applyBindings(QObject *obj, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &compilationUnit, const QList< const QV4::CompiledData::Binding * > &bindings) override
Definition
qquickpropertychanges.cpp:347
QQuickPropertyChangesPrivate::ExpressionChange
Definition
qquickpropertychanges.cpp:192
QQuickPropertyChangesPrivate::ExpressionChange::ExpressionChange
ExpressionChange(const QString &_name, const QV4::CompiledData::Binding *_binding, QQmlBinding::Identifier _id, const QString &_expr, const QUrl &_url, int _line, int _column)
Definition
qquickpropertychanges.cpp:194
QQuickPropertyChangesPrivate::ExpressionChange::binding
const QV4::CompiledData::Binding * binding
Definition
qquickpropertychanges.cpp:203
QQuickPropertyChangesPrivate::ExpressionChange::id
QQmlBinding::Identifier id
Definition
qquickpropertychanges.cpp:204
QQuickPropertyChangesPrivate::ExpressionChange::line
int line
Definition
qquickpropertychanges.cpp:207
QQuickPropertyChangesPrivate::ExpressionChange::expression
QString expression
Definition
qquickpropertychanges.cpp:205
QQuickPropertyChangesPrivate::ExpressionChange::url
QUrl url
Definition
qquickpropertychanges.cpp:206
QQuickPropertyChangesPrivate::ExpressionChange::column
int column
Definition
qquickpropertychanges.cpp:208
QQuickPropertyChangesPrivate::ExpressionChange::name
QString name
Definition
qquickpropertychanges.cpp:202
QQuickPropertyChangesPrivate
Definition
qquickpropertychanges.cpp:175
QQuickPropertyChangesPrivate::property
QQmlProperty property(const QString &)
Definition
qquickpropertychanges.cpp:414
QQuickPropertyChangesPrivate::isExplicit
bool isExplicit
Definition
qquickpropertychanges.cpp:187
QQuickPropertyChangesPrivate::compilationUnit
QQmlRefPointer< QV4::ExecutableCompilationUnit > compilationUnit
Definition
qquickpropertychanges.cpp:183
QQuickPropertyChangesPrivate::decodeBinding
void decodeBinding(const QString &propertyPrefix, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &qmlUnit, const QV4::CompiledData::Binding *binding)
Definition
qquickpropertychanges.cpp:254
QQuickPropertyChangesPrivate::decode
void decode()
Definition
qquickpropertychanges.cpp:241
QQuickPropertyChangesPrivate::signalReplacements
QList< QQuickReplaceSignalHandler * > signalReplacements
Definition
qquickpropertychanges.cpp:213
QQuickPropertyChangesPrivate::restore
bool restore
Definition
qquickpropertychanges.cpp:186
QQuickPropertyChangesPrivate::expressions
QList< ExpressionChange > expressions
Definition
qquickpropertychanges.cpp:212
QQuickPropertyChangesPrivate::bindings
QList< const QV4::CompiledData::Binding * > bindings
Definition
qquickpropertychanges.cpp:182
QQuickPropertyChangesPrivate::decoded
bool decoded
Definition
qquickpropertychanges.cpp:185
QQuickPropertyChanges
Definition
qquickpropertychanges_p.h:26
QQuickReplaceSignalHandler
\qmltype PropertyChanges \inqmlmodule QtQuick
Definition
qquickpropertychanges.cpp:119
QQuickReplaceSignalHandler::QQuickReplaceSignalHandler
QQuickReplaceSignalHandler()
Definition
qquickpropertychanges.cpp:121
QQuickReplaceSignalHandler::copyOriginals
void copyOriginals(QQuickStateActionEvent *other) override
Definition
qquickpropertychanges.cpp:146
QQuickReplaceSignalHandler::needsCopy
bool needsCopy() override
Definition
qquickpropertychanges.cpp:145
QQuickReplaceSignalHandler::~QQuickReplaceSignalHandler
~QQuickReplaceSignalHandler()
Definition
qquickpropertychanges.cpp:122
QQuickReplaceSignalHandler::mayOverride
bool mayOverride(QQuickStateActionEvent *other) override
Definition
qquickpropertychanges.cpp:162
QQuickReplaceSignalHandler::type
EventType type() const override
Definition
qquickpropertychanges.cpp:124
QQuickReplaceSignalHandler::rewindExpression
QQmlRefPointer< QQmlBoundSignalExpression > rewindExpression
Definition
qquickpropertychanges.cpp:129
QQuickReplaceSignalHandler::saveCurrentValues
void saveCurrentValues() override
Definition
qquickpropertychanges.cpp:158
QQuickReplaceSignalHandler::property
QQmlProperty property
Definition
qquickpropertychanges.cpp:126
QQuickReplaceSignalHandler::reverse
void reverse() override
Definition
qquickpropertychanges.cpp:136
QQuickReplaceSignalHandler::execute
void execute() override
Definition
qquickpropertychanges.cpp:131
QQuickReplaceSignalHandler::reverseExpression
QQmlRefPointer< QQmlBoundSignalExpression > reverseExpression
Definition
qquickpropertychanges.cpp:128
QQuickReplaceSignalHandler::rewind
void rewind() override
Definition
qquickpropertychanges.cpp:155
QQuickReplaceSignalHandler::saveOriginals
void saveOriginals() override
Definition
qquickpropertychanges.cpp:140
QQuickReplaceSignalHandler::isReversable
bool isReversable() override
Definition
qquickpropertychanges.cpp:135
QQuickReplaceSignalHandler::expression
QQmlRefPointer< QQmlBoundSignalExpression > expression
Definition
qquickpropertychanges.cpp:127
QQuickStateChangeScript
Definition
qquickstatechangescript_p.h:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qmlCreateCustomParser< QQmlConnections >
QQmlCustomParser * qmlCreateCustomParser< QQmlConnections >()
Definition
qqmlconnections_p.h:85
qtdeclarative
src
quick
util
qquickstatechangescript_p.h
Generated on
for Qt by
1.18.0