This class holds a list of CamiTK Properties and can be used as an editable QObject for the ObjectControler widget. More...
#include <CamiTKPropertyList.h>
Inheritance diagram for CamiTKPropertyList:
Collaboration diagram for CamiTKPropertyList:Public Member Functions | |
| virtual bool | addProperty (camitk::Property *) |
| Add a new CamiTK property to the component. | |
| virtual unsigned int | getNumberOfProperties () const |
| get the number of properties | |
| virtual Q_INVOKABLE camitk::Property * | getProperty (QString name) |
| Get a Property given its name. | |
| virtual camitk::Property * | getProperty (unsigned int) |
| get the property stored at the given index | |
| ~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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
get the number of properties
|
virtual |
Get a Property given its name.
| name | the property name |
Referenced by getProperty(), and PMLExplorerWidget::propertyChanged().
Here is the caller graph for this function:
|
virtual |
get the property stored at the given index
References getProperty().
Here is the call graph for this function: