Computer Assited Medical Intervention Tool Kit
version 4.1
|
Widget to add or remove parameters to the action. More...
#include <ActionAddParameterWidget.h>
Inherits QWidget.
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 |
Widget to add or remove parameters to the action.
The widget manages a list of ActionParameterWidget to define each parameter.
ActionAddParameterWidget::ActionAddParameterWidget | ( | QWidget * | parent | ) |
Constructor.
References setToDefault(), and ui.
|
overridedefault |
Destructor.
|
signal |
Referenced by cancelButtonClicked().
|
virtualslot |
References cancel().
QList< ActionParameterWidget * > ActionAddParameterWidget::getActionParameterWidgets | ( | ) |
References list.
Referenced by ActionAddParameterState::addDomParameters().
|
private |
References list.
Referenced by nextButtonClicked().
|
private |
References list.
Referenced by nextButtonClicked().
|
signal |
Referenced by nextButtonClicked().
|
virtualslot |
References defaultAscii, defaultBeforeGoingFurther, defaultParamNoName, isOneNoName(), isOneNonAsciiParameter(), and next().
|
signal |
Referenced by previousButtonClicked().
|
virtualslot |
References previous().
void ActionAddParameterWidget::removeParameter | ( | ActionParameterWidget * | widget | ) |
Referenced by ActionParameterWidget::remove().
void ActionAddParameterWidget::setToDefault | ( | ) |
Referenced by ActionAddParameterWidget(), and ActionAddParameterState::resetDomAction().
|
private |
Referenced by addParameterClicked(), getActionParameterWidgets(), isOneNoName(), isOneNonAsciiParameter(), removeParameter(), and setToDefault().
|
private |
Referenced by ActionAddParameterWidget(), addParameterClicked(), removeParameter(), and setToDefault().