Computer Assited Medical Intervention Tool Kit  version 4.1
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ComponentAddPropertyWidget Class Reference

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

#include <ComponentAddPropertyWidget.h>

Inherits QWidget.

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.

◆ ~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().

◆ cancelButtonClicked

void ComponentAddPropertyWidget::cancelButtonClicked ( )
virtualslot

References cancel().

◆ getComponentPropertyWidgets()

QList< ComponentPropertyWidget * > ComponentAddPropertyWidget::getComponentPropertyWidgets ( )

◆ isOneNoName()

bool ComponentAddPropertyWidget::isOneNoName ( )
private

References list.

Referenced by nextButtonClicked().

◆ isOneNonAsciiParameter()

bool ComponentAddPropertyWidget::isOneNonAsciiParameter ( )
private

References list.

Referenced by nextButtonClicked().

◆ next

void ComponentAddPropertyWidget::next ( )
signal

Referenced by nextButtonClicked().

◆ nextButtonClicked

void ComponentAddPropertyWidget::nextButtonClicked ( )
virtualslot

◆ previous

void ComponentAddPropertyWidget::previous ( )
signal

Referenced by previousButtonClicked().

◆ previousButtonClicked

void ComponentAddPropertyWidget::previousButtonClicked ( )
virtualslot

References previous().

◆ removeProperty()

void ComponentAddPropertyWidget::removeProperty ( ComponentPropertyWidget widget)

References list, and ui.

Referenced by ComponentPropertyWidget::remove().

◆ setToDefault()

void ComponentAddPropertyWidget::setToDefault ( )

Member Data Documentation

◆ list

QList<ComponentPropertyWidget*> ComponentAddPropertyWidget::list
private

◆ ui

Ui::ComponentAddPropertyWidget ComponentAddPropertyWidget::ui
private

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