StateEditorController Class Reference

#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/StateEditorController.h>

+ Inheritance diagram for StateEditorController:

Public Slots

void editSelectedState ()
 
void setLockRemoteStatesByDefault (bool lock)
 
void showStateContextMenu (statechartmodel::StateInstancePtr stateInstance, QPoint mouseScreenPos, QPointF mouseItemPos)
 
void showTransitionContextMenu (statechartmodel::TransitionCPtr transition, statechartmodel::StatePtr state, QPoint mouseScreenPos, QPointF mouseItemPos)
 

Public Member Functions

QList< QString > getRelevantProfiles () const
 
 StateEditorController (StatechartEditorMainWindow *mainWindow, StateTreeControllerPtr treeController, Ice::CommunicatorPtr communicator, VariantInfoPtr variantInfo, StatechartProfilePtr currentProfile, QPointer< TipDialog > tipDialog, QObject *parent=0)
 

Protected Member Functions

QMenu * createStateContextMenu ()
 
QMenu * createTransitionContextMenu ()
 
void stateDialogAccepted (statechartmodel::StateInstancePtr stateInstance, const armarx::StateDialog &d)
 

Protected Attributes

Ice::CommunicatorPtr communicator
 
StatechartProfilePtr currentProfile
 
QAction * deleteState
 
QAction * editState
 
QAction * findStateInTree
 
QAction * layoutState
 
bool lockRemoteStates
 
StatechartEditorMainWindowmainWindow
 
QMenu menu
 
QAction * newEndstate
 
QAction * openCode
 
EditorFileOpener opener
 
QAction * replaceState
 
QAction * setstartstate
 
QPointer< TipDialogtipDialog
 
StateTreeControllerPtr treeController
 
VariantInfoPtr variantInfo
 

Detailed Description

Definition at line 51 of file StateEditorController.h.

Constructor & Destructor Documentation

◆ StateEditorController()

StateEditorController ( StatechartEditorMainWindow mainWindow,
StateTreeControllerPtr  treeController,
Ice::CommunicatorPtr  communicator,
VariantInfoPtr  variantInfo,
StatechartProfilePtr  currentProfile,
QPointer< TipDialog tipDialog,
QObject *  parent = 0 
)
explicit

Definition at line 41 of file StateEditorController.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ createStateContextMenu()

QMenu* createStateContextMenu ( )
protected

◆ createTransitionContextMenu()

QMenu* createTransitionContextMenu ( )
protected

◆ editSelectedState

void editSelectedState ( )
slot

Definition at line 340 of file StateEditorController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getRelevantProfiles()

QList< QString > getRelevantProfiles ( ) const

Definition at line 322 of file StateEditorController.cpp.

+ Here is the caller graph for this function:

◆ setLockRemoteStatesByDefault

void setLockRemoteStatesByDefault ( bool  lock)
slot

Definition at line 378 of file StateEditorController.cpp.

◆ showStateContextMenu

void showStateContextMenu ( statechartmodel::StateInstancePtr  stateInstance,
QPoint  mouseScreenPos,
QPointF  mouseItemPos 
)
slot

Definition at line 112 of file StateEditorController.cpp.

+ Here is the call graph for this function:

◆ showTransitionContextMenu

void showTransitionContextMenu ( statechartmodel::TransitionCPtr  transition,
statechartmodel::StatePtr  state,
QPoint  mouseScreenPos,
QPointF  mouseItemPos 
)
slot

Definition at line 206 of file StateEditorController.cpp.

+ Here is the call graph for this function:

◆ stateDialogAccepted()

void stateDialogAccepted ( statechartmodel::StateInstancePtr  stateInstance,
const armarx::StateDialog d 
)
protected

Definition at line 76 of file StateEditorController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ communicator

Ice::CommunicatorPtr communicator
protected

Definition at line 77 of file StateEditorController.h.

◆ currentProfile

StatechartProfilePtr currentProfile
protected

Definition at line 79 of file StateEditorController.h.

◆ deleteState

QAction* deleteState
protected

Definition at line 84 of file StateEditorController.h.

◆ editState

QAction* editState
protected

Definition at line 83 of file StateEditorController.h.

◆ findStateInTree

QAction* findStateInTree
protected

Definition at line 91 of file StateEditorController.h.

◆ layoutState

QAction* layoutState
protected

Definition at line 85 of file StateEditorController.h.

◆ lockRemoteStates

bool lockRemoteStates
protected

Definition at line 81 of file StateEditorController.h.

◆ mainWindow

StatechartEditorMainWindow* mainWindow
protected

Definition at line 74 of file StateEditorController.h.

◆ menu

QMenu menu
protected

Definition at line 82 of file StateEditorController.h.

◆ newEndstate

QAction* newEndstate
protected

Definition at line 88 of file StateEditorController.h.

◆ openCode

QAction* openCode
protected

Definition at line 90 of file StateEditorController.h.

◆ opener

EditorFileOpener opener
protected

Definition at line 76 of file StateEditorController.h.

◆ replaceState

QAction* replaceState
protected

Definition at line 89 of file StateEditorController.h.

◆ setstartstate

QAction* setstartstate
protected

Definition at line 86 of file StateEditorController.h.

◆ tipDialog

QPointer<TipDialog> tipDialog
protected

Definition at line 80 of file StateEditorController.h.

◆ treeController

StateTreeControllerPtr treeController
protected

Definition at line 75 of file StateEditorController.h.

◆ variantInfo

VariantInfoPtr variantInfo
protected

Definition at line 78 of file StateEditorController.h.


The documentation for this class was generated from the following files: