![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectControler widget. More...
#include <CamiTKPropertyList.h>
Inherits QObject.
Public Member Functions | |
virtual bool | addProperty (camitk::Property *) |
Add a new CamiTK property to the component. More... | |
virtual unsigned int | getNumberOfProperties () const |
get the number of properties More... | |
virtual Q_INVOKABLE camitk::Property * | getProperty (QString name) |
Get a Property given its name. More... | |
virtual camitk::Property * | getProperty (unsigned int) |
get the property stored at the given index More... | |
virtual | ~CamiTKPropertyList () |
Private Attributes | |
QMap< QString, camitk::Property * > | propertyMap |
list of CamiTK property decorating the dynamic properties More... | |
This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectControler widget.
|
virtual |
|
virtual |
Add a new CamiTK property to the component.
If the property already exist, it will just change its value.
References camitk::Property::getInitialValue(), and camitk::Property::getName().
Referenced by PMLExplorerWidget::createAtomPropertyList(), PMLExplorerWidget::createCellPropertyList(), PMLExplorerWidget::createMCPropertyList(), PMLExplorerWidget::createNewProperty(), and PMLExplorerWidget::createSCPropertyList().
|
virtual |
get the number of properties
Referenced by PMLExplorerWidget::propertyChanged().
|
virtual |
Get a Property given its name.
name | the property name |
Referenced by PMLExplorerWidget::propertyChanged().
|
virtual |
get the property stored at the given index
|
private |
list of CamiTK property decorating the dynamic properties