itom
|
Public Slots | |
virtual void | setParam (QtProperty *property, const ito::Param ¶m)=0 |
Public Member Functions | |
AbstractParamPropertyManager (QObject *parent=0) | |
~AbstractParamPropertyManager () | |
const ito::ParamBase & | paramBase (const QtProperty *property) const |
const ito::Param & | param (const QtProperty *property) const |
Public Member Functions inherited from QtAbstractPropertyManager | |
QtAbstractPropertyManager (QObject *parent=0) | |
~QtAbstractPropertyManager () | |
QSet< QtProperty * > | properties () const |
void | clear () const |
QtProperty * | addProperty (const QString &name=QString()) |
Protected Member Functions | |
virtual QString | valueText (const QtProperty *property) const |
virtual QIcon | valueIcon (const QtProperty *property) const |
virtual void | initializeProperty (QtProperty *property)=0 |
virtual void | uninitializeProperty (QtProperty *property) |
Protected Member Functions inherited from QtAbstractPropertyManager | |
virtual bool | hasValue (const QtProperty *property) const |
virtual QString | displayText (const QtProperty *property) const |
virtual EchoMode | echoMode (const QtProperty *) const |
virtual QtProperty * | createProperty () |
Protected Attributes | |
AbstractParamPropertyManagerPrivate * | d_ptr |
Additional Inherited Members | |
Signals inherited from QtAbstractPropertyManager | |
void | propertyInserted (QtProperty *property, QtProperty *parent, QtProperty *after) |
void | propertyChanged (QtProperty *property) |
void | propertyRemoved (QtProperty *property, QtProperty *parent) |
void | propertyDestroyed (QtProperty *property) |
ito::AbstractParamPropertyManager::AbstractParamPropertyManager | ( | QObject * | parent = 0 | ) |
Creates a manager with the given parent.
ito::AbstractParamPropertyManager::~AbstractParamPropertyManager | ( | ) |
Destroys this manager, and all the properties it has created.
|
protectedpure virtual |
This function is called whenever a new valid property pointer has been created, passing the pointer as parameter.
The purpose is to let the manager know that the property has been created so that it can provide additional attributes for the new property, e.g. QtIntPropertyManager adds \l {QtIntPropertyManager::value()}{value}, \l {QtIntPropertyManager::minimum()}{minimum} and \l {QtIntPropertyManager::maximum()}{maximum} attributes. Since each manager subclass adds type specific attributes, this function is pure virtual and must be reimplemented when deriving from the QtAbstractPropertyManager class.
Implements QtAbstractPropertyManager.
Implemented in ito::ParamCharArrayPropertyManager, ito::ParamCharPropertyManager, ito::ParamDoubleArrayPropertyManager, ito::ParamDoublePropertyManager, ito::ParamIntArrayPropertyManager, ito::ParamIntervalPropertyManager, ito::ParamIntPropertyManager, ito::ParamOtherPropertyManager, ito::ParamRectPropertyManager, ito::ParamStringListPropertyManager, and ito::ParamStringPropertyManager.
|
protectedvirtual |
\reimp
Reimplemented from QtAbstractPropertyManager.
Reimplemented in ito::ParamCharArrayPropertyManager, ito::ParamDoubleArrayPropertyManager, ito::ParamIntArrayPropertyManager, ito::ParamRectPropertyManager, and ito::ParamStringListPropertyManager.
|
protectedvirtual |
Returns an icon representing the current state of the given property.
The default implementation of this function returns an invalid icon.
Reimplemented from QtAbstractPropertyManager.
Reimplemented in ito::ParamCharPropertyManager, ito::ParamDoublePropertyManager, and ito::ParamIntPropertyManager.
|
protectedvirtual |
Returns a string representing the current state of the given property.
The default implementation of this function returns an empty string.
Reimplemented from QtAbstractPropertyManager.
Reimplemented in ito::ParamCharArrayPropertyManager, ito::ParamCharPropertyManager, ito::ParamDoubleArrayPropertyManager, ito::ParamDoublePropertyManager, ito::ParamIntArrayPropertyManager, ito::ParamIntervalPropertyManager, ito::ParamIntPropertyManager, ito::ParamOtherPropertyManager, ito::ParamRectPropertyManager, ito::ParamStringListPropertyManager, and ito::ParamStringPropertyManager.