StatechartEditorParameterEditor Class Reference

#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/view/dialogs/StatechartEditorParameterEditor.h>

+ Inheritance diagram for StatechartEditorParameterEditor:

Public Types

enum  ColumnIds {
  eKey, eType, eOptional, eDeleteButton,
  eAdditionalButtons, eEditableValue
}
 

Public Slots

int addParameterRow ()
 
void buildFromMap (const statechartmodel::StateParameterMap &map)
 
void checkAndUpdateRowCount (int row, int column)
 
void deleteRow ()
 
void refreshVariantTypes ()
 
void typeCbChanged (const QString &)
 

Signals

void buildRequested (const statechartmodel::StateParameterMap &map)
 
void rowAdded (int rowId)
 
void rowFilled (int rowId, const QString &key)
 
void typeChanged (int row, const QString &newType)
 

Public Member Functions

void addParameterRow (QString key, QString variantIdStr, QVector< QString > values, bool optional=false)
 
Qt::CheckState getDefaultValueState () const
 
bool getIsOptional (int row) const
 
QString getKey (int row) const
 
QSet< QString > getKeys () const
 
QMap< QString, QString > getProfileJsonMap (QString key) const
 
QMap< QString, VariantContainerBasePtr > getProfileVariantContainerMap (int row) const
 
int getRow (const QString &key) const
 
statechartmodel::StateParameterPtr getStateParameter (int row) const
 
statechartmodel::StateParameterMap getStateParameters () const
 
statechartmodel::StateParameterMap getStateParametersWithoutValue () const
 
QString getType (int row) const
 
QString getType (QString key) const
 
QSet< QString > getTypes () const
 
QMap< QString, QString > getValuesAsString (int row) const
 
void hideValueColumns ()
 
void setCommunicator (Ice::CommunicatorPtr communicator)
 
void setCurrentProfile (StatechartProfilePtr currentProfile)
 
void setDefaultValueState (const Qt::CheckState &value)
 
void setHeaders ()
 
void setKeyBlackList (const QSet< QString > &keyBlackList)
 
void setStateInstance (statechartmodel::StateInstancePtr state)
 
void setVariantInfo (VariantInfoPtr variantInfo)
 
 StatechartEditorParameterEditor (QWidget *parent=0, statechartmodel::StateInstancePtr state=statechartmodel::StateInstancePtr(), const statechartmodel::StateParameterMap &params=statechartmodel::StateParameterMap())
 

Protected Slots

void addCustomColumn (int row)
 
void addInputToParent ()
 
void fillCustomColumn (int row, const QString &key)
 
void init (const statechartmodel::StateParameterMap &params)
 
void showHelpDialog ()
 

Protected Attributes

statechartmodel::StateParameterMap originalParamMap
 
statechartmodel::StateInstancePtr state
 

Detailed Description

Definition at line 54 of file StatechartEditorParameterEditor.h.

Member Enumeration Documentation

◆ ColumnIds

enum ColumnIds
Enumerator
eKey 
eType 
eOptional 
eDeleteButton 
eAdditionalButtons 
eEditableValue 

Definition at line 76 of file StatechartEditorParameterEditor.h.

Constructor & Destructor Documentation

◆ StatechartEditorParameterEditor()

Definition at line 71 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ addCustomColumn

void addCustomColumn ( int  row)
protectedslot

Definition at line 110 of file StatechartEditorParameterEditor.cpp.

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

◆ addInputToParent

void addInputToParent ( )
protectedslot

Definition at line 213 of file StatechartEditorParameterEditor.cpp.

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

◆ addParameterRow [1/2]

int addParameterRow ( )
slot

Definition at line 499 of file StatechartEditorParameterEditor.cpp.

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

◆ addParameterRow() [2/2]

void addParameterRow ( QString  key,
QString  variantIdStr,
QVector< QString >  values,
bool  optional = false 
)

Definition at line 553 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ buildFromMap

void buildFromMap ( const statechartmodel::StateParameterMap map)
slot

Definition at line 862 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ buildRequested

void buildRequested ( const statechartmodel::StateParameterMap map)
signal
+ Here is the caller graph for this function:

◆ checkAndUpdateRowCount

void checkAndUpdateRowCount ( int  row,
int  column 
)
slot

Definition at line 623 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ deleteRow

void deleteRow ( )
slot

Definition at line 605 of file StatechartEditorParameterEditor.cpp.

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

◆ fillCustomColumn

void fillCustomColumn ( int  row,
const QString &  key 
)
protectedslot

Definition at line 144 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ getDefaultValueState()

Qt::CheckState getDefaultValueState ( ) const

Definition at line 821 of file StatechartEditorParameterEditor.cpp.

◆ getIsOptional()

bool getIsOptional ( int  row) const

Definition at line 487 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ getKey()

QString getKey ( int  row) const

Definition at line 426 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ getKeys()

QSet< QString > getKeys ( ) const

Definition at line 268 of file StatechartEditorParameterEditor.cpp.

◆ getProfileJsonMap()

QMap< QString, QString > getProfileJsonMap ( QString  key) const

Definition at line 370 of file StatechartEditorParameterEditor.cpp.

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

◆ getProfileVariantContainerMap()

QMap< QString, VariantContainerBasePtr > getProfileVariantContainerMap ( int  row) const

Definition at line 406 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ getRow()

int getRow ( const QString &  key) const

Definition at line 466 of file StatechartEditorParameterEditor.cpp.

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

◆ getStateParameter()

statechartmodel::StateParameterPtr getStateParameter ( int  row) const

Definition at line 293 of file StatechartEditorParameterEditor.cpp.

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

◆ getStateParameters()

statechartmodel::StateParameterMap getStateParameters ( ) const

Definition at line 320 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ getStateParametersWithoutValue()

statechartmodel::StateParameterMap getStateParametersWithoutValue ( ) const

◆ getType() [1/2]

QString getType ( int  row) const

Definition at line 441 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ getType() [2/2]

QString getType ( QString  key) const

Definition at line 460 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ getTypes()

QSet< QString > getTypes ( ) const

Definition at line 283 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ getValuesAsString()

QMap< QString, QString > getValuesAsString ( int  row) const

Definition at line 346 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ hideValueColumns()

void hideValueColumns ( )

Definition at line 831 of file StatechartEditorParameterEditor.cpp.

◆ init

void init ( const statechartmodel::StateParameterMap params)
protectedslot

Definition at line 237 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ refreshVariantTypes

void refreshVariantTypes ( )
slot

Definition at line 666 of file StatechartEditorParameterEditor.cpp.

◆ rowAdded

void rowAdded ( int  rowId)
signal
+ Here is the caller graph for this function:

◆ rowFilled

void rowFilled ( int  rowId,
const QString &  key 
)
signal
+ Here is the caller graph for this function:

◆ setCommunicator()

void setCommunicator ( Ice::CommunicatorPtr  communicator)
inline

Definition at line 87 of file StatechartEditorParameterEditor.h.

◆ setCurrentProfile()

void setCurrentProfile ( StatechartProfilePtr  currentProfile)
inline

Definition at line 95 of file StatechartEditorParameterEditor.h.

◆ setDefaultValueState()

void setDefaultValueState ( const Qt::CheckState &  value)

Definition at line 826 of file StatechartEditorParameterEditor.cpp.

+ Here is the call graph for this function:

◆ setHeaders()

void setHeaders ( )

Definition at line 841 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ setKeyBlackList()

void setKeyBlackList ( const QSet< QString > &  keyBlackList)

Definition at line 263 of file StatechartEditorParameterEditor.cpp.

◆ setStateInstance()

void setStateInstance ( statechartmodel::StateInstancePtr  state)

Definition at line 66 of file StatechartEditorParameterEditor.cpp.

◆ setVariantInfo()

void setVariantInfo ( VariantInfoPtr  variantInfo)
inline

Definition at line 91 of file StatechartEditorParameterEditor.h.

◆ showHelpDialog

void showHelpDialog ( )
protectedslot

Definition at line 186 of file StatechartEditorParameterEditor.cpp.

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

◆ typeCbChanged

void typeCbChanged ( const QString &  )
slot

Definition at line 575 of file StatechartEditorParameterEditor.cpp.

+ Here is the caller graph for this function:

◆ typeChanged

void typeChanged ( int  row,
const QString &  newType 
)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ originalParamMap

statechartmodel::StateParameterMap originalParamMap
protected

Definition at line 71 of file StatechartEditorParameterEditor.h.

◆ state

Definition at line 70 of file StatechartEditorParameterEditor.h.


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