4 #ifndef BPSPROPERTYMANAGER_H
5 #define BPSPROPERTYMANAGER_H
8 #include <QtVariantProperty>
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
The class extends QtVariantPropertyManager by support for objects of the following types: .
Definition: bpspropertymanager.h:42
virtual QString valueText(const QtProperty *aProperty) const
Get a string representing the current state of the given property.
virtual void setValue(QtProperty *aProperty, const QVariant &aValue)
Sets the value of the given property to value.
static int marginsTypeId()
virtual QIcon valueIcon(const QtProperty *aProperty) const
Get a icon representing the current state of the given property.
virtual int valueType(int aPropertyType) const
Get the value type belonging to a given property type.
virtual QVariant value(const QtProperty *aProperty) const
Get the properties value.
BpsPropertyManager(QObject *aParent)
Creates a manager with the given parent.
virtual void initializeProperty(QtProperty *aProperty)
This function is called whenever a new valid property pointer has been created, passing the pointer a...
virtual bool isPropertyTypeSupported(int aPropertyType) const
Check if a given property type is supported by the manager.
virtual void uninitializeProperty(QtProperty *aProperty)
This function is called just before the specified property is destroyed.
virtual void setAttribute(QtProperty *aProperty, const QString &aName, const QVariant &aValue)
Sets the value of the specified attribute for the property.