![]() |
Computer Assited Medical Intervention Tool Kit
|
The class StructuralComponentDCProperties defines an QObject that allows user interaction with properties of a structural component (in an automatically generated UI) More...
#include <StructuralComponentDCProperties.h>
Public Member Functions | |
virtual bool | event (QEvent *e) |
intercept signal for dynamic property changed. | |
QString | getName () const |
get the atom's index in a form the property editor understands | |
void | setName (const QString) |
Set and get method for all the properties. | |
StructuralComponentDCProperties (StructuralComponentDC *) | |
Default construtor (give it he SCDC to edit) | |
void | updateProperties (StructuralComponentDC *) |
change the currently managed SCDC and update the value of the properties | |
~StructuralComponentDCProperties () | |
the destructor (oauh, really?!!) |
Properties | |
QString | name |
the name property that will be managed in the property dialog |
Private Attributes | |
StructuralComponentDC * | myDC |
The class StructuralComponentDCProperties defines an QObject that allows user interaction with properties of a structural component (in an automatically generated UI)
The default structural component properties are created thanks to Q_PROPERTY. The extra properties found in the PML document are also available thanks to the dynamic features of the Qt's Property System (see qt documentation).
StructuralComponentDCProperties::StructuralComponentDCProperties | ( | StructuralComponentDC * | dc | ) |
Default construtor (give it he SCDC to edit)
References updateProperties().
|
inline |
the destructor (oauh, really?!!)
|
virtual |
intercept signal for dynamic property changed.
References StructuralComponentDC::getSC(), and myDC.
QString StructuralComponentDCProperties::getName | ( | ) | const |
get the atom's index in a form the property editor understands
References camitk::Component::getName(), and myDC.
void StructuralComponentDCProperties::setName | ( | const QString | id | ) |
Set and get method for all the properties.
change the cell's name (if name is not an index)
References StructuralComponentDC::getSC(), myDC, camitk::Component::refresh(), camitk::Component::setModified(), and ComponentDC::setName().
void StructuralComponentDCProperties::updateProperties | ( | StructuralComponentDC * | dc | ) |
change the currently managed SCDC and update the value of the properties
References StructuralComponentDC::getSC(), and myDC.
Referenced by StructuralComponentDCProperties().
|
private |
Referenced by event(), getName(), setName(), and updateProperties().
|
readwrite |
the name property that will be managed in the property dialog