6#include <private/qquickstategroup_p.h>
7#include <private/qquickpropertychanges_p.h>
13 QQuickState *stateObject = qobject_cast<QQuickState*>(
object);
22 return stateObject && stateGroup && stateGroup->
state() ==
property.read();
27 QQuickState *stateObject = qobject_cast<QQuickState*>(
object);
41 QQuickState *stateObject = qobject_cast<QQuickState*>(
object);
The QQmlContext class defines a context within a QML engine.
The QQmlProperty class abstracts accessing properties on objects created from QML.
static bool changeValueInRevertList(QObject *state, QObject *target, const QQuickDesignerSupport::PropertyName &propertyName, const QVariant &value)
static bool resetStateProperty(QObject *state, QObject *target, const QQuickDesignerSupport::PropertyName &propertyName, const QVariant &)
static bool isStateActive(QObject *object, QQmlContext *context)
static void deactivateState(QObject *object)
static bool updateStateBinding(QObject *state, QObject *target, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
static void activateState(QObject *object, QQmlContext *context)
void setState(const QString &)
QQuickStateGroup * stateGroup() const
bool removeEntryFromRevertList(QObject *target, const QString &name)
bool changeValueInRevertList(QObject *target, const QString &name, const QVariant &revertValue)
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
QLatin1StringView QLatin1String