26 #ifndef INTERFACEPROPERTY_H 27 #define INTERFACEPROPERTY_H 70 virtual bool setDynamicProperty(
const char *name,
const QVariant &value,
const char *
description =
"",
bool isReadOnly=
false) = 0;
101 virtual QWidget * getPropertyWidget(QWidget* parent = 0) = 0;
155 #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.
const char * description
Definition: applications/cepgenerator/main.cpp:37
virtual Q_INVOKABLE Property * getProperty(QString name)=0
Get a Property given its name.
virtual QWidget * getPropertyWidgetAt(unsigned int i, QWidget *parent=0)=0
get the ith alternative property widget overwrtite this method and use the method setObjectName of QW...
virtual bool isInstanceOf(QString className)=0
Assert that a Component instance really inherits from a given className.
Definition: Action.cpp:40
virtual unsigned int getIndexOfPropertyExplorerTab()=0
Get the index of the tab in the PropertyExplorer to select for display.
virtual QStringList getHierarchy()=0
Get the inheritance hierachy of this Component instance as a list of QString.
virtual unsigned int getNumberOfPropertyWidget()=0
get the number of alternative property widgets
virtual void updateProperty(QString name, QVariant value)=0
update property: if you override this method, do not forget to call the superclass method for the pro...
virtual ~InterfaceProperty()
empty virtual destructor, to avoid memory leak
Definition: InterfaceProperty.h:47
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:260