KDStateMachineEditor  1.1.0
A framework for creating Qt State Machine metacode using a graphical user interface
Classes | Public Types | Public Member Functions | Properties | List of all members
KDSME::TransitionListModel Class Reference
Inheritance diagram for KDSME::TransitionListModel:
Inheritance graph
[legend]

Classes

struct  Private
 

Public Types

enum  Role { ObjectRole = Qt::UserRole + 1 }
 
enum  Column { NameColumn, SourceStateColumn, TargetStateColumn, _LastColumn }
 

Public Member Functions

 TransitionListModel (QObject *parent=nullptr)
 
Statestate () const
 
void setState (State *list)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
QHash< int, QByteArray > roleNames () const override
 

Properties

KDSME::State state
 

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

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
https://github.com/KDAB/KDStateMachineEditor