Widget to define an action parameter. More...
#include <ActionParameterWidget.h>
Inheritance diagram for ActionParameterWidget:
Collaboration diagram for ActionParameterWidget:Public Slots | |
| void | nameChanged (QString) |
| void | remove () |
| void | typeChanged (QString) |
Public Member Functions | |
| ActionParameterWidget (ActionAddParameterWidget *parent) | |
| Constructor. More... | |
| QString | getDefaultValue () |
| QString | getDescription () |
| QString | getName () |
| QString | getType () |
| QString | getUnit () |
| void | setRequiredName () |
| void | unsetRequiredName () |
| ~ActionParameterWidget () override=default | |
| Destructor. More... | |
Private Attributes | |
| ActionAddParameterWidget * | parent |
| Has to keep track of its parent in case it has to be removed: The remove button is on this widget, and it cannot "auto-remove" from its parent. More... | |
| Ui::ActionParameterWidget | ui |
| Qt Designer defined GUI. More... | |
Widget to define an action parameter.
| ActionParameterWidget::ActionParameterWidget | ( | ActionAddParameterWidget * | parent | ) |
|
overridedefault |
Destructor.
| QString ActionParameterWidget::getDefaultValue | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
Here is the caller graph for this function:| QString ActionParameterWidget::getDescription | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
Here is the caller graph for this function:| QString ActionParameterWidget::getName | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
Here is the caller graph for this function:| QString ActionParameterWidget::getType | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
Here is the caller graph for this function:| QString ActionParameterWidget::getUnit | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
Here is the caller graph for this function:
|
slot |
References ui.
|
slot |
References parent, and ActionAddParameterWidget::removeParameter().
Here is the call graph for this function:| void ActionParameterWidget::setRequiredName | ( | ) |
References enhancedStyle, and ui.
|
slot |
References ParameterGenerator::getTypeDefaultValue(), and ui.
Referenced by ActionParameterWidget().
Here is the call graph for this function:
Here is the caller graph for this function:| void ActionParameterWidget::unsetRequiredName | ( | ) |
References normalStyle, and ui.
|
private |
Has to keep track of its parent in case it has to be removed: The remove button is on this widget, and it cannot "auto-remove" from its parent.
Referenced by ActionParameterWidget(), and remove().
|
private |
Qt Designer defined GUI.
Referenced by ActionParameterWidget(), getDefaultValue(), getDescription(), getName(), getType(), getUnit(), nameChanged(), setRequiredName(), typeChanged(), and unsetRequiredName().