![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
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>
Inherits QObject.
Public Member Functions | |
virtual bool | event (QEvent *e) |
intercept signal for dynamic property changed. More... | |
QString | getName () const |
get the atom's index in a form the property editor understands More... | |
void | setName (const QString) |
Set and get method for all the properties. More... | |
StructuralComponentDCProperties (StructuralComponentDC *) | |
Default construtor (give it he SCDC to edit) More... | |
void | updateProperties (StructuralComponentDC *) |
change the currently managed SCDC and update the value of the properties More... | |
~StructuralComponentDCProperties () | |
the destructor (oauh, really?!!) More... | |
Properties | |
QString | name |
the name property that will be managed in the property dialog More... | |
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?!!)
References event(), getName(), setName(), and updateProperties().
|
virtual |
intercept signal for dynamic property changed.
References StructuralComponent::getProperties(), StructuralComponentDC::getSC(), myDC, and Properties::set().
Referenced by ~StructuralComponentDCProperties().
QString StructuralComponentDCProperties::getName | ( | ) | const |
get the atom's index in a form the property editor understands
References camitk::Component::getName(), and myDC.
Referenced by ~StructuralComponentDCProperties().
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().
Referenced by ~StructuralComponentDCProperties().
void StructuralComponentDCProperties::updateProperties | ( | StructuralComponentDC * | dc | ) |
change the currently managed SCDC and update the value of the properties
References Properties::getField(), Component::getName(), StructuralComponent::getProperties(), StructuralComponentDC::getSC(), Properties::getString(), myDC, Properties::numberOfFields(), and camitk::Application::showStatusBarMessage().
Referenced by StructuralComponentDCProperties(), and ~StructuralComponentDCProperties().
|
private |
Referenced by event(), getName(), setName(), and updateProperties().
|
readwrite |
the name property that will be managed in the property dialog