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

#include <commandcontroller.h>

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

Public Member Functions

 CommandController (QUndoStack *undoStack, StateMachineView *parent)
 
 ~CommandController ()
 
void clear ()
 
Q_INVOKABLE void push (KDSME::Command *command)
 
QUndoStack * undoStack () const
 
- Public Member Functions inherited from KDSME::AbstractController
 AbstractController (StateMachineView *view)
 
virtual ~AbstractController ()
 
StateMachineViewstateMachineView () const
 

Properties

QUndoStack * undoStack
 
- Properties inherited from KDSME::AbstractController
KDSME::StateMachineViewstateMachineView
 

Detailed Description

Definition at line 33 of file commandcontroller.h.

Constructor & Destructor Documentation

◆ CommandController()

CommandController::CommandController ( QUndoStack *  undoStack,
StateMachineView parent 
)
explicit

Definition at line 37 of file commandcontroller.cpp.

References undoStack.

◆ ~CommandController()

CommandController::~CommandController ( )

Definition at line 47 of file commandcontroller.cpp.

Member Function Documentation

◆ clear()

void CommandController::clear ( )

Definition at line 63 of file commandcontroller.cpp.

◆ push()

void CommandController::push ( KDSME::Command command)

◆ undoStack()

QUndoStack * CommandController::undoStack ( ) const

Definition at line 51 of file commandcontroller.cpp.

Property Documentation

◆ undoStack

QUndoStack * KDSME::CommandController::undoStack
read

Definition at line 36 of file commandcontroller.h.

Referenced by CommandController(), and KDSME::StateMachineView::sendCommand().


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