![]() |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Widget to define an action parameter. More...
#include <ActionParameterWidget.h>
Inherits QWidget.
Public Slots | |
| virtual void | nameChanged (QString) |
| virtual void | remove () |
| virtual 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 | ) |
Constructor.
References parent, typeChanged(), and ui.
|
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().
|
virtualslot |
References ui.
|
virtualslot |
References parent, and ActionAddParameterWidget::removeParameter().
| void ActionParameterWidget::setRequiredName | ( | ) |
References enhancedStyle, and ui.
|
virtualslot |
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().
1.8.13