Base-class for server-side property editor extensions.
More...
#include <propertycontrollerextension.h>
|
| PropertyControllerExtension (const QString &name) |
| Create a new property extension. More...
|
|
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. More...
|
|
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. More...
|
|
virtual bool | setQObject (QObject *object) |
| Sets the QObject that should be represented by this extension. This variant is used for QObject-derived types. More...
|
|
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
.
- Since
- 2.1
GammaRay::PropertyControllerExtension::PropertyControllerExtension |
( |
const QString & |
name | ) |
|
|
explicit |
Create a new property extension.
- Parameters
-
name | The extension identifier used for client/server communication. |
virtual bool GammaRay::PropertyControllerExtension::setMetaObject |
( |
const QMetaObject * |
metaObject | ) |
|
|
virtual |
Sets the meta object that should be represented by this extension. This variant is used for QMetaObjects without a specific object instance.
- Returns
true
if the extension can handle object
, false
otherwise.
virtual bool GammaRay::PropertyControllerExtension::setObject |
( |
void * |
object, |
|
|
const QString & |
typeName |
|
) |
| |
|
virtual |
Sets the object that should be represented by this extension. This variant is used for non-QObject types using Gammaray::MetaObjectRepository.
- Returns
true
if the extension can handle object
, false
otherwise.
virtual bool GammaRay::PropertyControllerExtension::setQObject |
( |
QObject * |
object | ) |
|
|
virtual |
Sets the QObject that should be represented by this extension. This variant is used for QObject-derived types.
- Returns
true
if the extension can handle object
, false
otherwise.
The documentation for this class was generated from the following file: