![]() |
Computer Assited Medical Intervention Tool Kit
|
The class AtomDCWidget defines a widget controling the properties of an instance of an AtomDC. More...
#include <AtomDCWidget.h>
Public Slots | |
void | usedInTableClicked (int, int) |
Public Member Functions | |
AtomDCWidget (AtomDC *, QWidget *parent=0) | |
Default construtor. | |
void | updateProperties (AtomDC *) |
change the currently managed AtomDC and update the value of the properties | |
~AtomDCWidget () |
Private Attributes | |
QLabel * | infoLabel |
AtomDC * | myDC |
the currently selected atom's AtomDC | |
QTableWidget * | usedInTable |
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.
AtomDCWidget::AtomDCWidget | ( | AtomDC * | adc, |
QWidget * | parent = 0 |
||
) |
Default construtor.
References infoLabel, usedInTable, and usedInTableClicked().
|
inline |
void AtomDCWidget::updateProperties | ( | AtomDC * | adc | ) |
change the currently managed AtomDC and update the value of the properties
References cellPixmap, AtomDC::getAtom(), infoLabel, myDC, structuralComponentPixmap, and usedInTable.
Referenced by PMManagerDC::getAtomDCWidget().
|
slot |
References AtomDC::getAtom(), PMManagerDC::getDC(), AtomDC::getPMManagerDC(), myDC, camitk::Component::refresh(), and camitk::Component::setSelected().
Referenced by AtomDCWidget().
|
private |
Referenced by AtomDCWidget(), and updateProperties().
|
private |
the currently selected atom's AtomDC
Referenced by updateProperties(), and usedInTableClicked().
|
private |
Referenced by AtomDCWidget(), and updateProperties().