KDStateMachineEditor API Documentation 2.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
KDSME::Command Class Reference

#include <command_p.h>

Inheritance diagram for KDSME::Command:
Inheritance graph
[legend]
Collaboration diagram for KDSME::Command:
Collaboration graph
[legend]

Public Types

enum  Id {
  CreateElement = 0 , DeleteElement , ReparentElement , LayoutSnapshot ,
  ModifyProperty , ModifyInitialState , ModifyDefaultState , ModifyElement ,
  ModifyTransition , ChangeStateMachine
}
 

Public Member Functions

 Command (const QString &text=QString(), QUndoCommand *parent=nullptr)
 
 Command (StateModel *model, QUndoCommand *parent=nullptr)
 
StateModelmodel () const
 

Detailed Description

Definition at line 26 of file command_p.h.

Member Enumeration Documentation

◆ Id

Enumerator
CreateElement 
DeleteElement 
ReparentElement 
LayoutSnapshot 
ModifyProperty 
ModifyInitialState 
ModifyDefaultState 
ModifyElement 
ModifyTransition 
ChangeStateMachine 

Definition at line 31 of file command_p.h.

Constructor & Destructor Documentation

◆ Command() [1/2]

Command::Command ( KDSME::StateModel model,
QUndoCommand *  parent = nullptr 
)
explicit

Definition at line 22 of file command.cpp.

◆ Command() [2/2]

Command::Command ( const QString &  text = QString(),
QUndoCommand *  parent = nullptr 
)
explicit

Definition at line 28 of file command.cpp.

Member Function Documentation

◆ model()

KDSME::StateModel * Command::model ( ) const

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