StatechartView Class Reference

#include <ArmarXGui/gui-plugins/StatechartViewerPlugin/view/StatechartView.h>

+ Inheritance diagram for StatechartView:

Public Slots

void deleteSelectedStates ()
 
void onItemChange ()
 
void setOriginalZoom ()
 
void setState (statechartmodel::StatePtr state)
 
void showSubSubstates (bool show=true)
 
void viewAll ()
 

Signals

void selectedStateChanged (statechartmodel::StateInstancePtr selectedStateInstance)
 

Public Member Functions

QGraphicsView * getGraphicsView () const
 
Graphics_view_zoomgetGraphicsViewZoomer () const
 
LayoutControllergetLayoutController ()
 
StateScenegetScene () const
 
statechartmodel::StateInstancePtr getStateInstance () const
 
QSize sizeHint () const override
 
 StatechartView (statechartmodel::StatePtr state=statechartmodel::StatePtr(new statechartmodel::State()), bool enableLayouting=true, QWidget *parent=0)
 
 ~StatechartView () override
 

Static Public Member Functions

static statechartmodel::StatePtr CreateTestStates ()
 

Detailed Description

Definition at line 44 of file StatechartView.h.

Constructor & Destructor Documentation

◆ StatechartView()

StatechartView ( statechartmodel::StatePtr  state = statechartmodel::StatePtr(new statechartmodel::State()),
bool  enableLayouting = true,
QWidget *  parent = 0 
)
explicit

Definition at line 46 of file StatechartView.cpp.

+ Here is the call graph for this function:

◆ ~StatechartView()

~StatechartView ( )
override

Definition at line 81 of file StatechartView.cpp.

Member Function Documentation

◆ CreateTestStates()

statechartmodel::StatePtr CreateTestStates ( )
static

Definition at line 175 of file StatechartView.cpp.

+ Here is the caller graph for this function:

◆ deleteSelectedStates

void deleteSelectedStates ( )
slot

Definition at line 122 of file StatechartView.cpp.

+ Here is the call graph for this function:

◆ getGraphicsView()

QGraphicsView * getGraphicsView ( ) const

Definition at line 91 of file StatechartView.cpp.

◆ getGraphicsViewZoomer()

Graphics_view_zoom * getGraphicsViewZoomer ( ) const

Definition at line 96 of file StatechartView.cpp.

+ Here is the caller graph for this function:

◆ getLayoutController()

LayoutController & getLayoutController ( )

Definition at line 101 of file StatechartView.cpp.

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

◆ getScene()

StateScene* getScene ( ) const
inline

Definition at line 54 of file StatechartView.h.

+ Here is the caller graph for this function:

◆ getStateInstance()

statechartmodel::StateInstancePtr getStateInstance ( ) const

Definition at line 86 of file StatechartView.cpp.

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

◆ onItemChange

void onItemChange ( )
slot

Definition at line 154 of file StatechartView.cpp.

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

◆ selectedStateChanged

void selectedStateChanged ( statechartmodel::StateInstancePtr  selectedStateInstance)
signal
+ Here is the caller graph for this function:

◆ setOriginalZoom

void setOriginalZoom ( )
slot

Definition at line 117 of file StatechartView.cpp.

◆ setState

void setState ( statechartmodel::StatePtr  state)
slot

Definition at line 106 of file StatechartView.cpp.

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

◆ showSubSubstates

void showSubSubstates ( bool  show = true)
slot

Definition at line 169 of file StatechartView.cpp.

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

◆ sizeHint()

QSize sizeHint ( ) const
override

Definition at line 228 of file StatechartView.cpp.

◆ viewAll

void viewAll ( )
slot

Definition at line 149 of file StatechartView.cpp.


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