This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectControler widget. More...
#include <CamiTKPropertyList.h>
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... | |
~CamiTKPropertyList () override | |
This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectControler widget.
|
override |
|
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::createNewProperty().
|
virtual |
get the number of properties
|
virtual |
Get a Property given its name.
name | the property name |
Referenced by getProperty().
|
virtual |
get the property stored at the given index
References getProperty().