Computer Assited Medical Intervention Tool Kit  version 5.0
ComponentPropertyWidget Class Reference

Widget to define a component property. More...

#include <ComponentPropertyWidget.h>

+ Inheritance diagram for ComponentPropertyWidget:
+ Collaboration diagram for ComponentPropertyWidget:

Public Slots

void nameChanged (QString)
 
void remove ()
 
void typeChanged (QString)
 

Public Member Functions

 ComponentPropertyWidget (ComponentAddPropertyWidget *parent)
 Constructor. More...
 
QString getDefaultValue ()
 
QString getDescription ()
 
QString getName ()
 
QString getType ()
 
QString getUnit ()
 
void setRequiredName ()
 
void unsetRequiredName ()
 
 ~ComponentPropertyWidget () override=default
 Destructor. More...
 

Private Attributes

ComponentAddPropertyWidgetparent
 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::ComponentPropertyWidget ui
 Qt Designer defined GUI. More...
 

Detailed Description

Widget to define a component property.

Constructor & Destructor Documentation

◆ ComponentPropertyWidget()

ComponentPropertyWidget::ComponentPropertyWidget ( ComponentAddPropertyWidget parent)

Constructor.

References parent, typeChanged(), and ui.

+ Here is the call graph for this function:

◆ ~ComponentPropertyWidget()

ComponentPropertyWidget::~ComponentPropertyWidget ( )
overridedefault

Destructor.

Member Function Documentation

◆ getDefaultValue()

QString ComponentPropertyWidget::getDefaultValue ( )

References ui.

Referenced by ComponentAddPropertyState::addDomParameters().

+ Here is the caller graph for this function:

◆ getDescription()

QString ComponentPropertyWidget::getDescription ( )

References ui.

Referenced by ComponentAddPropertyState::addDomParameters().

+ Here is the caller graph for this function:

◆ getName()

QString ComponentPropertyWidget::getName ( )

References ui.

Referenced by ComponentAddPropertyState::addDomParameters().

+ Here is the caller graph for this function:

◆ getType()

QString ComponentPropertyWidget::getType ( )

References ui.

Referenced by ComponentAddPropertyState::addDomParameters().

+ Here is the caller graph for this function:

◆ getUnit()

QString ComponentPropertyWidget::getUnit ( )

References ui.

Referenced by ComponentAddPropertyState::addDomParameters().

+ Here is the caller graph for this function:

◆ nameChanged

void ComponentPropertyWidget::nameChanged ( QString  name)
slot

References ui.

◆ remove

void ComponentPropertyWidget::remove ( )
slot

References parent, and ComponentAddPropertyWidget::removeProperty().

+ Here is the call graph for this function:

◆ setRequiredName()

void ComponentPropertyWidget::setRequiredName ( )

References enhancedStyle, and ui.

◆ typeChanged

void ComponentPropertyWidget::typeChanged ( QString  typeName)
slot

References ParameterGenerator::getTypeDefaultValue(), and ui.

Referenced by ComponentPropertyWidget().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unsetRequiredName()

void ComponentPropertyWidget::unsetRequiredName ( )

References normalStyle, and ui.

Member Data Documentation

◆ parent

ComponentAddPropertyWidget* ComponentPropertyWidget::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 ComponentPropertyWidget(), and remove().

◆ ui

Ui::ComponentPropertyWidget ComponentPropertyWidget::ui
private

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