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

The class AtomDCWidget defines a widget controling the properties of an instance of an AtomDC. More...

#include <AtomDCWidget.h>

Inherits QWidget.

Public Slots

void usedInTableClicked (int, int)
 

Public Member Functions

 AtomDCWidget (AtomDC *, QWidget *parent=0)
 Default construtor. More...
 
void updateProperties (AtomDC *)
 change the currently managed AtomDC and update the value of the properties More...
 
 ~AtomDCWidget ()
 

Private Attributes

QLabel * infoLabel
 
AtomDCmyDC
 the currently selected atom's AtomDC More...
 
QTableWidget * usedInTable
 

Detailed Description

The class AtomDCWidget defines a widget controling the properties of an instance of an AtomDC.

This widget is special as there is only one AtomDCWidget instance for ALL the atoms of a physical model. When the user selects an atom for the first time, the widget is created and displayed. When the user selects another atom, the widget is updated with the property of the selected atom (via method updateProperties(...) ). see PMManagerDC for the control of the instance.

Constructor & Destructor Documentation

◆ AtomDCWidget()

AtomDCWidget::AtomDCWidget ( AtomDC adc,
QWidget *  parent = 0 
)

Default construtor.

References infoLabel, usedInTable, and usedInTableClicked().

◆ ~AtomDCWidget()

AtomDCWidget::~AtomDCWidget ( )
inline

Member Function Documentation

◆ updateProperties()

void AtomDCWidget::updateProperties ( AtomDC adc)

◆ usedInTableClicked

void AtomDCWidget::usedInTableClicked ( int  row,
int  column 
)
slot

Member Data Documentation

◆ infoLabel

QLabel* AtomDCWidget::infoLabel
private

Referenced by AtomDCWidget(), and updateProperties().

◆ myDC

AtomDC* AtomDCWidget::myDC
private

the currently selected atom's AtomDC

Referenced by updateProperties(), and usedInTableClicked().

◆ usedInTable

QTableWidget* AtomDCWidget::usedInTable
private

Referenced by AtomDCWidget(), and updateProperties().


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