26 #ifndef INTERFACEPROPERTY_H 27 #define INTERFACEPROPERTY_H 126 #endif // INTERFACEPROPERTY_H This class describe what are the methods to implement in order to manage dynamic properties.
Definition: InterfaceProperty.h:43
virtual void setIndexOfPropertyExplorerTab(unsigned int index)=0
Set the index of the tab in the PropertyExplorer to select for display.
virtual bool addProperty(Property *)=0
Add a new CamiTK property to the component.
virtual Q_INVOKABLE Property * getProperty(QString name)=0
Get a Property given its name.
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
Definition: Action.cpp:36
virtual unsigned int getIndexOfPropertyExplorerTab()=0
Get the index of the tab in the PropertyExplorer to select for display.
virtual QWidget * getPropertyWidgetAt(unsigned int i)=0
get the ith alternative property widget overide this method and use the method setObjectName of QWidg...
virtual unsigned int getNumberOfPropertyWidget()=0
get the number of alternative property widgets
virtual bool isInstanceOf(QString className) const =0
Assert that a Component instance really inherits from a given className.
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 QObject * getPropertyObject()=0
get the property object that could be understood by PropertyEditor.
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:291