Computer Assited Medical Intervention Tool Kit  version 5.0
ComponentAddPropertyWidget Class Reference

Widget to add or remove properties to the component. More...

#include <ComponentAddPropertyWidget.h>

+ Inheritance diagram for ComponentAddPropertyWidget:
+ Collaboration diagram for ComponentAddPropertyWidget:

Public Slots

virtual void addPropertyClicked ()
 
virtual void cancelButtonClicked ()
 
virtual void nextButtonClicked ()
 
virtual void previousButtonClicked ()
 

Signals

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

Public Member Functions

 ComponentAddPropertyWidget (QWidget *parent)
 Constructor. More...
 
QList< ComponentPropertyWidget * > getComponentPropertyWidgets ()
 
void removeProperty (ComponentPropertyWidget *widget)
 
void setToDefault ()
 
 ~ComponentAddPropertyWidget () override=default
 Destructor. More...
 

Private Member Functions

bool isOneNoName ()
 
bool isOneNonAsciiParameter ()
 

Private Attributes

QList< ComponentPropertyWidget * > list
 
Ui::ComponentAddPropertyWidget ui
 

Detailed Description

Widget to add or remove properties to the component.

The widget manages a list of ComponentPropertyWidget to define each property.

Constructor & Destructor Documentation

◆ ComponentAddPropertyWidget()

ComponentAddPropertyWidget::ComponentAddPropertyWidget ( QWidget *  parent)

Constructor.

References setToDefault(), and ui.

+ Here is the call graph for this function:

◆ ~ComponentAddPropertyWidget()

ComponentAddPropertyWidget::~ComponentAddPropertyWidget ( )
overridedefault

Destructor.

Member Function Documentation

◆ addPropertyClicked

void ComponentAddPropertyWidget::addPropertyClicked ( )
virtualslot

References list, and ui.

◆ cancel

void ComponentAddPropertyWidget::cancel ( )
signal

Referenced by cancelButtonClicked().

+ Here is the caller graph for this function:

◆ cancelButtonClicked

void ComponentAddPropertyWidget::cancelButtonClicked ( )
virtualslot

References cancel().

◆ getComponentPropertyWidgets()

QList< ComponentPropertyWidget * > ComponentAddPropertyWidget::getComponentPropertyWidgets ( )

References list.

Referenced by ComponentAddPropertyState::addDomParameters().

+ Here is the caller graph for this function:

◆ isOneNoName()

bool ComponentAddPropertyWidget::isOneNoName ( )
private

References list.

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ isOneNonAsciiParameter()

bool ComponentAddPropertyWidget::isOneNonAsciiParameter ( )
private

References list.

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ next

void ComponentAddPropertyWidget::next ( )
signal

Referenced by nextButtonClicked().

+ Here is the caller graph for this function:

◆ nextButtonClicked

void ComponentAddPropertyWidget::nextButtonClicked ( )
virtualslot

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

+ Here is the call graph for this function:

◆ previous

void ComponentAddPropertyWidget::previous ( )
signal

Referenced by previousButtonClicked().

+ Here is the caller graph for this function:

◆ previousButtonClicked

void ComponentAddPropertyWidget::previousButtonClicked ( )
virtualslot

References previous().

◆ removeProperty()

void ComponentAddPropertyWidget::removeProperty ( ComponentPropertyWidget widget)

References list, and ui.

Referenced by ComponentPropertyWidget::remove().

+ Here is the caller graph for this function:

◆ setToDefault()

void ComponentAddPropertyWidget::setToDefault ( )

References list, and ui.

Referenced by ComponentAddPropertyWidget(), and ComponentAddPropertyState::resetDomComponent().

+ Here is the caller graph for this function:

Member Data Documentation

◆ list

◆ ui

Ui::ComponentAddPropertyWidget ComponentAddPropertyWidget::ui
private

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