Widget to define an action parameter. More...
#include <ActionParameterWidget.h>
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().
QString ActionParameterWidget::getDescription | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
QString ActionParameterWidget::getName | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
QString ActionParameterWidget::getType | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
QString ActionParameterWidget::getUnit | ( | ) |
References ui.
Referenced by ActionAddParameterState::addDomParameters().
|
slot |
References ui.
|
slot |
References parent, and ActionAddParameterWidget::removeParameter().
void ActionParameterWidget::setRequiredName | ( | ) |
References enhancedStyle, and ui.
|
slot |
References ParameterGenerator::getTypeDefaultValue(), and ui.
Referenced by ActionParameterWidget().
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().