KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
QuickRecursiveInstantiator Class Reference

#include <quickrecursiveinstantiator_p.h>

Inheritance diagram for QuickRecursiveInstantiator:
Inheritance graph
[legend]
Collaboration diagram for QuickRecursiveInstantiator:
Collaboration graph
[legend]

Signals

void delegateChanged (QQmlComponent *delegate)
 
void modelChanged (QAbstractItemModel *model)
 

Public Member Functions

 QuickRecursiveInstantiator (QQuickItem *parent=nullptr)
 
QQmlComponent * delegate () const
 
QObject * itemForIndex (const QModelIndex &index) const override
 
QAbstractItemModel * model () const
 
QList< QObject * > rootItems () const
 
void setDelegate (QQmlComponent *delegate)
 
virtual void setModel (QAbstractItemModel *model)
 
- Public Member Functions inherited from InstantiatorInterface
virtual ~InstantiatorInterface ()
 

Properties

QQmlComponent * delegate
 
QAbstractItemModel * model
 

Detailed Description

Definition at line 29 of file quickrecursiveinstantiator_p.h.

Constructor & Destructor Documentation

◆ QuickRecursiveInstantiator()

QuickRecursiveInstantiator::QuickRecursiveInstantiator ( QQuickItem *  parent = nullptr)
explicit

Definition at line 29 of file quickrecursiveinstantiator.cpp.

Member Function Documentation

◆ delegate()

QQmlComponent * QuickRecursiveInstantiator::delegate ( ) const

Definition at line 67 of file quickrecursiveinstantiator.cpp.

◆ delegateChanged

void QuickRecursiveInstantiator::delegateChanged ( QQmlComponent *  delegate)
signal

Referenced by setDelegate().

◆ itemForIndex()

QObject * QuickRecursiveInstantiator::itemForIndex ( const QModelIndex &  index) const
overridevirtual

Implements InstantiatorInterface.

Definition at line 82 of file quickrecursiveinstantiator.cpp.

◆ model()

QAbstractItemModel * QuickRecursiveInstantiator::model ( ) const

Definition at line 41 of file quickrecursiveinstantiator.cpp.

◆ modelChanged

void QuickRecursiveInstantiator::modelChanged ( QAbstractItemModel *  model)
signal

Referenced by setModel().

◆ rootItems()

QList< QObject * > QuickRecursiveInstantiator::rootItems ( ) const

Definition at line 36 of file quickrecursiveinstantiator.cpp.

◆ setDelegate()

void QuickRecursiveInstantiator::setDelegate ( QQmlComponent *  delegate)

Definition at line 72 of file quickrecursiveinstantiator.cpp.

References delegate, and delegateChanged().

◆ setModel()

void QuickRecursiveInstantiator::setModel ( QAbstractItemModel *  model)
virtual

Definition at line 46 of file quickrecursiveinstantiator.cpp.

References model, and modelChanged().

Property Documentation

◆ delegate

QQmlComponent * QuickRecursiveInstantiator::delegate
readwrite

Definition at line 33 of file quickrecursiveinstantiator_p.h.

Referenced by setDelegate().

◆ model

QAbstractItemModel * QuickRecursiveInstantiator::model
readwrite

Definition at line 32 of file quickrecursiveinstantiator_p.h.

Referenced by setModel().


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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8