|
#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/view/dialogs/StatechartEditorParameterEditor.h>
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 ¶ms=statechartmodel::StateParameterMap()) | |
Protected Slots | |
void | addCustomColumn (int row) |
void | addInputToParent () |
void | fillCustomColumn (int row, const QString &key) |
void | init (const statechartmodel::StateParameterMap ¶ms) |
void | showHelpDialog () |
Protected Attributes | |
statechartmodel::StateParameterMap | originalParamMap |
statechartmodel::StateInstancePtr | state |
Definition at line 54 of file StatechartEditorParameterEditor.h.
enum ColumnIds |
Enumerator | |
---|---|
eKey | |
eType | |
eOptional | |
eDeleteButton | |
eAdditionalButtons | |
eEditableValue |
Definition at line 76 of file StatechartEditorParameterEditor.h.
StatechartEditorParameterEditor | ( | QWidget * | parent = 0 , |
statechartmodel::StateInstancePtr | state = statechartmodel::StateInstancePtr() , |
||
const statechartmodel::StateParameterMap & | params = statechartmodel::StateParameterMap() |
||
) |
Definition at line 71 of file StatechartEditorParameterEditor.cpp.
|
protectedslot |
Definition at line 110 of file StatechartEditorParameterEditor.cpp.
|
protectedslot |
Definition at line 213 of file StatechartEditorParameterEditor.cpp.
|
slot |
Definition at line 499 of file StatechartEditorParameterEditor.cpp.
void addParameterRow | ( | QString | key, |
QString | variantIdStr, | ||
QVector< QString > | values, | ||
bool | optional = false |
||
) |
Definition at line 553 of file StatechartEditorParameterEditor.cpp.
|
slot |
Definition at line 862 of file StatechartEditorParameterEditor.cpp.
|
signal |
|
slot |
Definition at line 623 of file StatechartEditorParameterEditor.cpp.
|
slot |
Definition at line 605 of file StatechartEditorParameterEditor.cpp.
|
protectedslot |
Definition at line 144 of file StatechartEditorParameterEditor.cpp.
Qt::CheckState getDefaultValueState | ( | ) | const |
Definition at line 821 of file StatechartEditorParameterEditor.cpp.
bool getIsOptional | ( | int | row | ) | const |
Definition at line 487 of file StatechartEditorParameterEditor.cpp.
QString getKey | ( | int | row | ) | const |
Definition at line 426 of file StatechartEditorParameterEditor.cpp.
QSet< QString > getKeys | ( | ) | const |
Definition at line 268 of file StatechartEditorParameterEditor.cpp.
QMap< QString, QString > getProfileJsonMap | ( | QString | key | ) | const |
Definition at line 370 of file StatechartEditorParameterEditor.cpp.
QMap< QString, VariantContainerBasePtr > getProfileVariantContainerMap | ( | int | row | ) | const |
Definition at line 406 of file StatechartEditorParameterEditor.cpp.
int getRow | ( | const QString & | key | ) | const |
Definition at line 466 of file StatechartEditorParameterEditor.cpp.
statechartmodel::StateParameterPtr getStateParameter | ( | int | row | ) | const |
Definition at line 293 of file StatechartEditorParameterEditor.cpp.
statechartmodel::StateParameterMap getStateParameters | ( | ) | const |
Definition at line 320 of file StatechartEditorParameterEditor.cpp.
statechartmodel::StateParameterMap getStateParametersWithoutValue | ( | ) | const |
QString getType | ( | int | row | ) | const |
Definition at line 441 of file StatechartEditorParameterEditor.cpp.
QString getType | ( | QString | key | ) | const |
Definition at line 460 of file StatechartEditorParameterEditor.cpp.
QSet< QString > getTypes | ( | ) | const |
Definition at line 283 of file StatechartEditorParameterEditor.cpp.
QMap< QString, QString > getValuesAsString | ( | int | row | ) | const |
Definition at line 346 of file StatechartEditorParameterEditor.cpp.
void hideValueColumns | ( | ) |
Definition at line 831 of file StatechartEditorParameterEditor.cpp.
|
protectedslot |
Definition at line 237 of file StatechartEditorParameterEditor.cpp.
|
slot |
Definition at line 666 of file StatechartEditorParameterEditor.cpp.
|
signal |
|
signal |
|
inline |
Definition at line 87 of file StatechartEditorParameterEditor.h.
|
inline |
Definition at line 95 of file StatechartEditorParameterEditor.h.
void setDefaultValueState | ( | const Qt::CheckState & | value | ) |
Definition at line 826 of file StatechartEditorParameterEditor.cpp.
void setHeaders | ( | ) |
Definition at line 841 of file StatechartEditorParameterEditor.cpp.
void setKeyBlackList | ( | const QSet< QString > & | keyBlackList | ) |
Definition at line 263 of file StatechartEditorParameterEditor.cpp.
void setStateInstance | ( | statechartmodel::StateInstancePtr | state | ) |
Definition at line 66 of file StatechartEditorParameterEditor.cpp.
|
inline |
Definition at line 91 of file StatechartEditorParameterEditor.h.
|
protectedslot |
Definition at line 186 of file StatechartEditorParameterEditor.cpp.
|
slot |
Definition at line 575 of file StatechartEditorParameterEditor.cpp.
|
signal |
|
protected |
Definition at line 71 of file StatechartEditorParameterEditor.h.
|
protected |
Definition at line 70 of file StatechartEditorParameterEditor.h.