Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQuickDesignerSupportStates Class Reference

#include <qquickdesignersupportstates_p.h>

+ Collaboration diagram for QQuickDesignerSupportStates:

Static Public Member Functions

static bool isStateActive (QObject *object, QQmlContext *context)
 
static void activateState (QObject *object, QQmlContext *context)
 
static void deactivateState (QObject *object)
 
static bool changeValueInRevertList (QObject *state, QObject *target, const QQuickDesignerSupport::PropertyName &propertyName, const QVariant &value)
 
static bool updateStateBinding (QObject *state, QObject *target, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
 
static bool resetStateProperty (QObject *state, QObject *target, const QQuickDesignerSupport::PropertyName &propertyName, const QVariant &)
 

Detailed Description

Definition at line 24 of file qquickdesignersupportstates_p.h.

Member Function Documentation

◆ activateState()

void QQuickDesignerSupportStates::activateState ( QObject * object,
QQmlContext * context )
static

Definition at line 25 of file qquickdesignersupportstates.cpp.

References context, property, QQuickStateGroup::setState(), and QQuickState::stateGroup().

+ Here is the call graph for this function:

◆ changeValueInRevertList()

bool QQuickDesignerSupportStates::changeValueInRevertList ( QObject * state,
QObject * target,
const QQuickDesignerSupport::PropertyName & propertyName,
const QVariant & value )
static

Definition at line 52 of file qquickdesignersupportstates.cpp.

References QQuickState::changeValueInRevertList(), QString::fromUtf8(), and state.

+ Here is the call graph for this function:

◆ deactivateState()

void QQuickDesignerSupportStates::deactivateState ( QObject * object)
static

Definition at line 39 of file qquickdesignersupportstates.cpp.

References QQuickStateGroup::setState(), and QQuickState::stateGroup().

+ Here is the call graph for this function:

◆ isStateActive()

QT_BEGIN_NAMESPACE bool QQuickDesignerSupportStates::isStateActive ( QObject * object,
QQmlContext * context )
static

Definition at line 11 of file qquickdesignersupportstates.cpp.

References context, property, QQuickStateGroup::state, and QQuickState::stateGroup().

+ Here is the call graph for this function:

◆ resetStateProperty()

bool QQuickDesignerSupportStates::resetStateProperty ( QObject * state,
QObject * target,
const QQuickDesignerSupport::PropertyName & propertyName,
const QVariant &  )
static

Definition at line 76 of file qquickdesignersupportstates.cpp.

References QString::fromUtf8(), QQuickState::removeEntryFromRevertList(), and state.

+ Here is the call graph for this function:

◆ updateStateBinding()

bool QQuickDesignerSupportStates::updateStateBinding ( QObject * state,
QObject * target,
const QQuickDesignerSupport::PropertyName & propertyName,
const QString & expression )
static

Definition at line 64 of file qquickdesignersupportstates.cpp.

References QQuickState::changeValueInRevertList(), QString::fromUtf8(), and state.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: