GammaRay API Documentation 3.0.1
|
Base-class for server-side property editor extensions. More...
#include <propertycontrollerextension.h>
Public Member Functions | |
PropertyControllerExtension (const QString &name) | |
Create a new property extension. | |
QString | name () const |
Returns the identifier of this extension, used for client/server communication. | |
virtual bool | setMetaObject (const QMetaObject *metaObject) |
Sets the meta object that should be represented by this extension. This variant is used for QMetaObjects without a specific object instance. | |
virtual bool | setObject (void *object, const QString &typeName) |
Sets the object that should be represented by this extension. This variant is used for non-QObject types using Gammaray::MetaObjectRepository. | |
virtual bool | setQObject (QObject *object) |
Sets the QObject that should be represented by this extension. This variant is used for QObject-derived types. | |
Base-class for server-side property editor extensions.
This can be used to add your own tabs to the property widget. Re-implement the corresponding variant of setObject/setMetaObject you can handle, the default implementations do nothing and return false
.
|
explicit |
Create a new property extension.
name | The extension identifier used for client/server communication. |
|
virtual |
Sets the meta object that should be represented by this extension. This variant is used for QMetaObjects without a specific object instance.
true
if the extension can handle object
, false
otherwise.
|
virtual |
Sets the object that should be represented by this extension. This variant is used for non-QObject types using Gammaray::MetaObjectRepository.
true
if the extension can handle object
, false
otherwise.