Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>

+ Inheritance diagram for AtomDCWidget:

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 ( AtomDC ,
QWidget *  parent = 0 
)

Default construtor.

AtomDCWidget::~AtomDCWidget ( )
inline

Member Function Documentation

void AtomDCWidget::updateProperties ( AtomDC )

change the currently managed AtomDC and update the value of the properties

void AtomDCWidget::usedInTableClicked ( int  ,
int   
)
slot

Member Data Documentation

QLabel* AtomDCWidget::infoLabel
private
AtomDC* AtomDCWidget::myDC
private

the currently selected atom's AtomDC

QTableWidget* AtomDCWidget::usedInTable
private

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