Computer Assited Medical Intervention Tool Kit  version 5.0
ActionAddParameterWidget Class Reference

Widget to add or remove parameters to the action. More...

#include <ActionAddParameterWidget.h>

+ Inheritance diagram for ActionAddParameterWidget:
+ Collaboration diagram for ActionAddParameterWidget:

Public Slots

virtual void addParameterClicked ()
 
virtual void cancelButtonClicked ()
 
virtual void nextButtonClicked ()
 
virtual void previousButtonClicked ()
 

Signals

void cancel ()
 
void next ()
 
void previous ()
 

Public Member Functions

 ActionAddParameterWidget (QWidget *parent)
 Constructor. More...
 
QList< ActionParameterWidget * > getActionParameterWidgets ()
 
void removeParameter (ActionParameterWidget *widget)
 
void setToDefault ()
 
 ~ActionAddParameterWidget () override=default
 Destructor. More...
 

Private Member Functions

bool isOneNoName ()
 
bool isOneNonAsciiParameter ()
 

Private Attributes

QList< ActionParameterWidget * > list
 
Ui::ActionAddParameterWidget ui
 

Detailed Description

Widget to add or remove parameters to the action.

The widget manages a list of ActionParameterWidget to define each parameter.

Constructor & Destructor Documentation

◆ ActionAddParameterWidget()

ActionAddParameterWidget::ActionAddParameterWidget ( QWidget *  parent)

Constructor.

References setToDefault(), and ui.

+ Here is the call graph for this function:

◆ ~ActionAddParameterWidget()

ActionAddParameterWidget::~ActionAddParameterWidget ( )
overridedefault

Destructor.

Member Function Documentation

◆ addParameterClicked

void ActionAddParameterWidget::addParameterClicked ( )
virtualslot

References list, and ui.

◆ cancel

void ActionAddParameterWidget::cancel ( )
signal

Referenced by cancelButtonClicked().

+ Here is the caller graph for this function:

◆ cancelButtonClicked

void ActionAddParameterWidget::cancelButtonClicked ( )
virtualslot

References cancel().

◆ getActionParameterWidgets()

QList< ActionParameterWidget * > ActionAddParameterWidget::getActionParameterWidgets ( )

References list.

Referenced by ActionAddParameterState::addDomParameters().

+ Here is the caller graph for this function:

◆ isOneNoName()

bool ActionAddParameterWidget::isOneNoName ( )
private

References list.

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ isOneNonAsciiParameter()

bool ActionAddParameterWidget::isOneNonAsciiParameter ( )
private

References list.

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ next

void ActionAddParameterWidget::next ( )
signal

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ nextButtonClicked

void ActionAddParameterWidget::nextButtonClicked ( )
virtualslot

References defaultAscii, defaultBeforeGoingFurther, defaultParamNoName, isOneNoName(), isOneNonAsciiParameter(), and next().

+ Here is the call graph for this function:

◆ previous

void ActionAddParameterWidget::previous ( )
signal

Referenced by previousButtonClicked().

+ Here is the caller graph for this function:

◆ previousButtonClicked

void ActionAddParameterWidget::previousButtonClicked ( )
virtualslot

References previous().

◆ removeParameter()

void ActionAddParameterWidget::removeParameter ( ActionParameterWidget widget)

References list, and ui.

Referenced by ActionParameterWidget::remove().

+ Here is the caller graph for this function:

◆ setToDefault()

void ActionAddParameterWidget::setToDefault ( )

References list, and ui.

Referenced by ActionAddParameterWidget(), and ActionAddParameterState::resetDomAction().

+ Here is the caller graph for this function:

Member Data Documentation

◆ list

◆ ui

Ui::ActionAddParameterWidget ActionAddParameterWidget::ui
private

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