KDStateMachineEditor API Documentation 2.1
|
#include <editcontroller.h>
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) |
![]() | |
AbstractController (StateMachineView *view) | |
virtual | ~AbstractController () |
StateMachineView * | stateMachineView () const |
Properties | |
bool | editModeEnabled |
![]() | |
KDSME::StateMachineView * | stateMachineView |
Definition at line 27 of file editcontroller.h.
|
explicit |
Definition at line 47 of file editcontroller.cpp.
EditController::~EditController | ( | ) |
Definition at line 53 of file editcontroller.cpp.
bool EditController::editModeEnabled | ( | ) | const |
Definition at line 57 of file editcontroller.cpp.
|
signal |
Referenced by setEditModeEnabled().
|
slot |
Definition at line 71 of file editcontroller.cpp.
References KDSME_QML_URI_PREFIX.
|
slot |
Definition at line 155 of file editcontroller.cpp.
References KDSME_QML_URI_PREFIX, KDSME::StateMachineView::scene, KDSME::StateMachineView::sendCommand(), KDSME::AbstractController::stateMachineView, and KDSME::Element::stringToType().
void EditController::setEditModeEnabled | ( | bool | editModeEnabled | ) |
Definition at line 62 of file editcontroller.cpp.
References editModeEnabled, and editModeEnabledChanged().
|
readwrite |
Definition at line 30 of file editcontroller.h.
Referenced by setEditModeEnabled().