Computer Assited Medical Intervention Tool Kit  version 5.0
ActionParameterWidget Class Reference

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

ActionAddParameterWidgetparent
 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...
 

Detailed Description

Widget to define an action parameter.

Constructor & Destructor Documentation

◆ ActionParameterWidget()

ActionParameterWidget::ActionParameterWidget ( ActionAddParameterWidget parent)

Constructor.

References parent, typeChanged(), and ui.

+ Here is the call graph for this function:

◆ ~ActionParameterWidget()

ActionParameterWidget::~ActionParameterWidget ( )
overridedefault

Destructor.

Member Function Documentation

◆ getDefaultValue()

QString ActionParameterWidget::getDefaultValue ( )

References ui.

Referenced by ActionAddParameterState::addDomParameters().

+ Here is the caller graph for this function:

◆ getDescription()

QString ActionParameterWidget::getDescription ( )

References ui.

Referenced by ActionAddParameterState::addDomParameters().

+ Here is the caller graph for this function:

◆ getName()

QString ActionParameterWidget::getName ( )

References ui.

Referenced by ActionAddParameterState::addDomParameters().

+ Here is the caller graph for this function:

◆ getType()

QString ActionParameterWidget::getType ( )

References ui.

Referenced by ActionAddParameterState::addDomParameters().

+ Here is the caller graph for this function:

◆ getUnit()

QString ActionParameterWidget::getUnit ( )

References ui.

Referenced by ActionAddParameterState::addDomParameters().

+ Here is the caller graph for this function:

◆ nameChanged

void ActionParameterWidget::nameChanged ( QString  name)
slot

References ui.

◆ remove

void ActionParameterWidget::remove ( )
slot

References parent, and ActionAddParameterWidget::removeParameter().

+ Here is the call graph for this function:

◆ setRequiredName()

void ActionParameterWidget::setRequiredName ( )

References enhancedStyle, and ui.

◆ typeChanged

void ActionParameterWidget::typeChanged ( QString  typeName)
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:

◆ unsetRequiredName()

void ActionParameterWidget::unsetRequiredName ( )

References normalStyle, and ui.

Member Data Documentation

◆ parent

ActionAddParameterWidget* ActionParameterWidget::parent
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().

◆ ui

Ui::ActionParameterWidget ActionParameterWidget::ui
private

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