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

#include <editcontroller.h>

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

Public Slots

bool sendDragEnterEvent (KDSME::Element *sender, KDSME::Element *target, const QPoint &pos, const QList< QUrl > &urls)
 
bool sendDropEvent (KDSME::Element *sender, KDSME::Element *target, const QPoint &pos, const QList< QUrl > &urls)
 

Signals

void editModeEnabledChanged (bool editModeEnabled)
 

Public Member Functions

 EditController (StateMachineView *parent=nullptr)
 
 ~EditController ()
 
bool editModeEnabled () const
 
void setEditModeEnabled (bool editModeEnabled)
 
- Public Member Functions inherited from KDSME::AbstractController
 AbstractController (StateMachineView *view)
 
virtual ~AbstractController ()
 
StateMachineViewstateMachineView () const
 

Properties

bool editModeEnabled
 
- Properties inherited from KDSME::AbstractController
KDSME::StateMachineViewstateMachineView
 

Detailed Description

Definition at line 27 of file editcontroller.h.

Constructor & Destructor Documentation

◆ EditController()

EditController::EditController ( StateMachineView parent = nullptr)
explicit

Definition at line 47 of file editcontroller.cpp.

◆ ~EditController()

EditController::~EditController ( )

Definition at line 53 of file editcontroller.cpp.

Member Function Documentation

◆ editModeEnabled()

bool EditController::editModeEnabled ( ) const

Definition at line 57 of file editcontroller.cpp.

◆ editModeEnabledChanged

void KDSME::EditController::editModeEnabledChanged ( bool  editModeEnabled)
signal

Referenced by setEditModeEnabled().

◆ sendDragEnterEvent

bool EditController::sendDragEnterEvent ( KDSME::Element sender,
KDSME::Element target,
const QPoint &  pos,
const QList< QUrl > &  urls 
)
slot

Definition at line 71 of file editcontroller.cpp.

References KDSME_QML_URI_PREFIX.

◆ sendDropEvent

bool EditController::sendDropEvent ( KDSME::Element sender,
KDSME::Element target,
const QPoint &  pos,
const QList< QUrl > &  urls 
)
slot

◆ setEditModeEnabled()

void EditController::setEditModeEnabled ( bool  editModeEnabled)

Definition at line 62 of file editcontroller.cpp.

References editModeEnabled, and editModeEnabledChanged().

Property Documentation

◆ editModeEnabled

bool KDSME::EditController::editModeEnabled
readwrite

Definition at line 30 of file editcontroller.h.

Referenced by setEditModeEnabled().


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