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

Classes

struct  Private
 

Public Types

enum  EditTrigger { NoEditTriggers, SelectedClicked }
 
enum  ViewState { NoState, RefreshState }
 

Public Slots

void setCurrentIndex (const QModelIndex &index)
 

Signals

void modelChanged (QAbstractItemModel *model)
 
void stateChanged (ViewState state)
 
void instantiatorChanged (QObject *instantiator)
 

Public Member Functions

 AbstractScene (QQuickItem *parent=nullptr)
 
virtual void setModel (QAbstractItemModel *model)
 
QAbstractItemModel * model () const
 
virtual void setSelectionModel (QItemSelectionModel *selectionModel)
 
QItemSelectionModel * selectionModel () const
 
QQuickItem * instantiator () const
 
void setInstantiator (QQuickItem *instantiator)
 
void setEditTriggers (EditTriggers triggers)
 
EditTriggers editTriggers () const
 
QObject * itemForIndex (const QModelIndex &index) const
 
ViewState viewState () const
 
QModelIndex currentIndex () const
 

Protected Slots

virtual void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
virtual void currentChanged (const QModelIndex &current, const QModelIndex &previous)
 
virtual void rowsInserted (const QModelIndex &parent, int start, int end)
 
virtual void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
virtual void layoutChanged ()
 
void setViewState (ViewState state)
 

Properties

QAbstractItemModel model
 
QQuickItem instantiator
 
ViewState viewState
 

Member Function Documentation

void AbstractScene::layoutChanged ( )
protectedvirtualslot

Called whenever the model's contents layout changed (for example when indices got moved around)


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