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
QQuickStateGroupPrivate Class Reference
Inheritance diagram for QQuickStateGroupPrivate:
Collaboration diagram for QQuickStateGroupPrivate:

Public Member Functions

 QQuickStateGroupPrivate ()
QQuickTransitionfindTransition (const QString &from, const QString &to)
void setCurrentStateInternal (const QString &state, bool=false)
bool updateAutoState ()
 QQuickStateGroupPrivate ()
QQuickTransitionfindTransition (const QString &from, const QString &to)
void setCurrentStateInternal (const QString &state, bool=false)
bool updateAutoState ()
Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
void setObjectNameWithoutBindings (const QString &name)
 QObjectPrivate (decltype(QObjectPrivateVersion) version=QObjectPrivateVersion)
virtual ~QObjectPrivate ()
void deleteChildren ()
void clearBindingStorage ()
void setParent_helper (QObject *)
void moveToThread_helper ()
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
QObjectList receiverList (const char *signal) const
void ensureConnectionData ()
void addConnection (int signal, Connection *c)
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
bool maybeSignalConnected (uint signalIndex) const
bool isDeclarativeSignalConnected (uint signalIdx) const
void connectNotify (const QMetaMethod &signal)
void disconnectNotify (const QMetaMethod &signal)
void reinitBindingStorageAfterThreadMove ()
virtual std::string flagsForDumping () const
virtual void writeToDebugStream (QDebug &) const
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
Public Member Functions inherited from QObjectData
 QObjectData ()=default
virtual ~QObjectData ()=0
const QMetaObjectdynamicMetaObject () const

Static Public Member Functions

static void append_state (QQmlListProperty< QQuickState > *list, QQuickState *state)
static qsizetype count_state (QQmlListProperty< QQuickState > *list)
static QQuickStateat_state (QQmlListProperty< QQuickState > *list, qsizetype index)
static void clear_states (QQmlListProperty< QQuickState > *list)
static void replace_states (QQmlListProperty< QQuickState > *list, qsizetype index, QQuickState *state)
static void removeLast_states (QQmlListProperty< QQuickState > *list)
static void append_transition (QQmlListProperty< QQuickTransition > *list, QQuickTransition *state)
static qsizetype count_transitions (QQmlListProperty< QQuickTransition > *list)
static QQuickTransitionat_transition (QQmlListProperty< QQuickTransition > *list, qsizetype index)
static void clear_transitions (QQmlListProperty< QQuickTransition > *list)
static void append_state (QQmlListProperty< QQuickState > *list, QQuickState *state)
static qsizetype count_state (QQmlListProperty< QQuickState > *list)
static QQuickStateat_state (QQmlListProperty< QQuickState > *list, qsizetype index)
static void clear_states (QQmlListProperty< QQuickState > *list)
static void replace_states (QQmlListProperty< QQuickState > *list, qsizetype index, QQuickState *state)
static void removeLast_states (QQmlListProperty< QQuickState > *list)
static void append_transition (QQmlListProperty< QQuickTransition > *list, QQuickTransition *state)
static qsizetype count_transitions (QQmlListProperty< QQuickTransition > *list)
static QQuickTransitionat_transition (QQmlListProperty< QQuickTransition > *list, qsizetype index)
static void clear_transitions (QQmlListProperty< QQuickTransition > *list)
Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
static QObjectPrivateget (QObject *o)
static const QObjectPrivateget (const QObject *o)
template<typename Func1, typename Func2>
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
template<typename Func1, typename Func2>
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
static bool disconnect (const QObject *sender, int signal_index, void **slot)
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)

Public Attributes

QString currentState
QQuickStatenullState
QList< QQuickState * > states
QList< QQuickTransition * > transitions
bool componentComplete
bool ignoreTrans
bool applyingState
int unnamedCount
Public Attributes inherited from QObjectPrivate
ExtraDataextraData
QAtomicPointer< QThreadDatathreadData
QAtomicPointer< ConnectionDataconnections
union { 
   QObject *   currentChildBeingDeleted 
   QAbstractDeclarativeData *   declarativeData 
}; 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
Public Attributes inherited from QObjectData
QObjectq_ptr
QObjectparent
QObjectList children
uint isWidget: 1
uint blockSig: 1
uint wasDeleted: 1
uint isDeletingChildren: 1
uint sendChildEvents: 1
uint receiveChildEvents: 1
uint isWindow: 1
uint deleteLaterCalled: 1
uint isQuickItem: 1
uint willBeWidget: 1
uint wasWidget: 1
uint receiveParentEvents: 1
uint unused: 20
QAtomicInt postedEvents
QDynamicMetaObjectDatametaObject
QBindingStorage bindingStorage

Additional Inherited Members

Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>

Detailed Description

Definition at line 23 of file qquickstategroup.cpp.

Constructor & Destructor Documentation

◆ QQuickStateGroupPrivate() [1/2]

QQuickStateGroupPrivate::QQuickStateGroupPrivate ( )
inline

Definition at line 27 of file qquickstategroup.cpp.

◆ QQuickStateGroupPrivate() [2/2]

QQuickStateGroupPrivate::QQuickStateGroupPrivate ( )
inline

Definition at line 27 of file qquickstategroup.cpp.

Member Function Documentation

◆ append_state() [1/2]

void QQuickStateGroupPrivate::append_state ( QQmlListProperty< QQuickState > * list,
QQuickState * state )
static

Definition at line 144 of file qquickstategroup.cpp.

◆ append_state() [2/2]

void QQuickStateGroupPrivate::append_state ( QQmlListProperty< QQuickState > * list,
QQuickState * state )
static

◆ append_transition() [1/2]

void QQuickStateGroupPrivate::append_transition ( QQmlListProperty< QQuickTransition > * list,
QQuickTransition * state )
static

Definition at line 234 of file qquickstategroup.cpp.

◆ append_transition() [2/2]

void QQuickStateGroupPrivate::append_transition ( QQmlListProperty< QQuickTransition > * list,
QQuickTransition * state )
static

◆ at_state() [1/2]

QQuickState * QQuickStateGroupPrivate::at_state ( QQmlListProperty< QQuickState > * list,
qsizetype index )
static

Definition at line 158 of file qquickstategroup.cpp.

◆ at_state() [2/2]

QQuickState * QQuickStateGroupPrivate::at_state ( QQmlListProperty< QQuickState > * list,
qsizetype index )
static

◆ at_transition() [1/2]

QQuickTransition * QQuickStateGroupPrivate::at_transition ( QQmlListProperty< QQuickTransition > * list,
qsizetype index )
static

Definition at line 247 of file qquickstategroup.cpp.

◆ at_transition() [2/2]

QQuickTransition * QQuickStateGroupPrivate::at_transition ( QQmlListProperty< QQuickTransition > * list,
qsizetype index )
static

◆ clear_states() [1/2]

void QQuickStateGroupPrivate::clear_states ( QQmlListProperty< QQuickState > * list)
static

Definition at line 164 of file qquickstategroup.cpp.

◆ clear_states() [2/2]

void QQuickStateGroupPrivate::clear_states ( QQmlListProperty< QQuickState > * list)
static

◆ clear_transitions() [1/2]

void QQuickStateGroupPrivate::clear_transitions ( QQmlListProperty< QQuickTransition > * list)
static

Definition at line 253 of file qquickstategroup.cpp.

◆ clear_transitions() [2/2]

void QQuickStateGroupPrivate::clear_transitions ( QQmlListProperty< QQuickTransition > * list)
static

◆ count_state() [1/2]

qsizetype QQuickStateGroupPrivate::count_state ( QQmlListProperty< QQuickState > * list)
static

Definition at line 152 of file qquickstategroup.cpp.

◆ count_state() [2/2]

qsizetype QQuickStateGroupPrivate::count_state ( QQmlListProperty< QQuickState > * list)
static

◆ count_transitions() [1/2]

qsizetype QQuickStateGroupPrivate::count_transitions ( QQmlListProperty< QQuickTransition > * list)
static

Definition at line 241 of file qquickstategroup.cpp.

◆ count_transitions() [2/2]

qsizetype QQuickStateGroupPrivate::count_transitions ( QQmlListProperty< QQuickTransition > * list)
static

◆ findTransition() [1/2]

QQuickTransition * QQuickStateGroupPrivate::findTransition ( const QString & from,
const QString & to )

Definition at line 392 of file qquickstategroup.cpp.

◆ findTransition() [2/2]

QQuickTransition * QQuickStateGroupPrivate::findTransition ( const QString & from,
const QString & to )

◆ removeLast_states() [1/2]

void QQuickStateGroupPrivate::removeLast_states ( QQmlListProperty< QQuickState > * list)
static

Definition at line 192 of file qquickstategroup.cpp.

◆ removeLast_states() [2/2]

void QQuickStateGroupPrivate::removeLast_states ( QQmlListProperty< QQuickState > * list)
static

◆ replace_states() [1/2]

void QQuickStateGroupPrivate::replace_states ( QQmlListProperty< QQuickState > * list,
qsizetype index,
QQuickState * state )
static

Definition at line 175 of file qquickstategroup.cpp.

◆ replace_states() [2/2]

void QQuickStateGroupPrivate::replace_states ( QQmlListProperty< QQuickState > * list,
qsizetype index,
QQuickState * state )
static

◆ setCurrentStateInternal() [1/2]

void QQuickStateGroupPrivate::setCurrentStateInternal ( const QString & state,
bool ignoreTrans = false )

Definition at line 458 of file qquickstategroup.cpp.

References applyingState, componentComplete, and nullState.

◆ setCurrentStateInternal() [2/2]

void QQuickStateGroupPrivate::setCurrentStateInternal ( const QString & state,
bool = false )

◆ updateAutoState() [1/2]

bool QQuickStateGroupPrivate::updateAutoState ( )

Definition at line 342 of file qquickstategroup.cpp.

References componentComplete.

◆ updateAutoState() [2/2]

bool QQuickStateGroupPrivate::updateAutoState ( )

Member Data Documentation

◆ applyingState

bool QQuickStateGroupPrivate::applyingState

Definition at line 51 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal().

◆ componentComplete

bool QQuickStateGroupPrivate::componentComplete

Definition at line 49 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal(), and updateAutoState().

◆ currentState

QString QQuickStateGroupPrivate::currentState

Definition at line 31 of file qquickstategroup.cpp.

◆ ignoreTrans

bool QQuickStateGroupPrivate::ignoreTrans

Definition at line 50 of file qquickstategroup.cpp.

◆ nullState

QQuickState * QQuickStateGroupPrivate::nullState

Definition at line 32 of file qquickstategroup.cpp.

Referenced by setCurrentStateInternal().

◆ states

QList< QQuickState * > QQuickStateGroupPrivate::states

Definition at line 46 of file qquickstategroup.cpp.

◆ transitions

QList< QQuickTransition * > QQuickStateGroupPrivate::transitions

Definition at line 47 of file qquickstategroup.cpp.

◆ unnamedCount

int QQuickStateGroupPrivate::unnamedCount

Definition at line 52 of file qquickstategroup.cpp.


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