26 #ifndef INTERFACEPROPERTY_H
27 #define INTERFACEPROPERTY_H
This class describe what are the methods to implement in order to manage dynamic properties.
Definition: InterfaceProperty.h:43
virtual unsigned int getNumberOfPropertyWidget()=0
get the number of alternative property widgets
virtual bool addProperty(Property *)=0
Add a new CamiTK property to the component.
virtual const QObject * getPropertyObject() const =0
virtual QStringList getHierarchy() const =0
Get the inheritance hierachy of this Component instance as a list of QString.
~InterfaceProperty()=default
empty virtual destructor, to avoid memory leak
virtual void updateProperty(QString name, QVariant value)=0
update property: if you this method, do not forget to call the superclass method for the property not...
virtual bool isInstanceOf(QString className) const =0
Assert that a Component instance really inherits from a given className.
virtual Q_INVOKABLE camitk::Property * getProperty(QString name)=0
Get a Property given its name.
virtual unsigned int getIndexOfPropertyExplorerTab()=0
Get the index of the tab in the PropertyExplorer to select for display.
virtual void setIndexOfPropertyExplorerTab(unsigned int index)=0
Set the index of the tab in the PropertyExplorer to select for display.
virtual QObject * getPropertyObject()=0
get the property object that could be understood by PropertyEditor.
virtual QWidget * getPropertyWidgetAt(unsigned int i)=0
get the ith alternative property widget override this method and use the method setObjectName of QWid...
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:280
Definition: Action.cpp:36