#include <ObjectController.h>
|
void | addClassProperties (const QMetaObject *metaObject) |
|
void | addDynamicProperties (const QObject *edited) |
|
void | applyChange () |
|
QtVariantProperty * | buildQtVariantProperty (QString name, QMetaType::Type type, QVariant value, bool isReadable, bool isWritable, bool isEnumType, bool isFlagType, bool isDesignable, QMetaEnum *metaEnum=NULL) |
| build a QtVariantProperty from name, type, property...etc... More...
|
|
int | enumToInt (const QMetaEnum &metaEnum, int enumValue) const |
|
int | flagToInt (const QMetaEnum &metaEnum, int flagValue) const |
|
int | intToEnum (const QMetaEnum &metaEnum, int intValue) const |
|
int | intToFlag (const QMetaEnum &metaEnum, int intValue) const |
|
bool | isPowerOf2 (int value) const |
|
bool | isSubValue (int value, int subValue) const |
|
void | restoreExpandedState () |
|
void | saveChange (QtProperty *property, const QVariant &value) |
|
void | saveExpandedState () |
|
void | updateClassProperties (const QMetaObject *metaObject, bool recursive) |
|
void | updateDynamicProperties (const QObject *edited) |
|
void | valueChanged (QtProperty *property, const QVariant value) |
|
void camitk::ObjectControllerPrivate::addClassProperties |
( |
const QMetaObject * |
metaObject | ) |
|
void camitk::ObjectControllerPrivate::addDynamicProperties |
( |
const QObject * |
edited | ) |
|
void camitk::ObjectControllerPrivate::applyChange |
( |
| ) |
|
QtVariantProperty* camitk::ObjectControllerPrivate::buildQtVariantProperty |
( |
QString |
name, |
|
|
QMetaType::Type |
type, |
|
|
QVariant |
value, |
|
|
bool |
isReadable, |
|
|
bool |
isWritable, |
|
|
bool |
isEnumType, |
|
|
bool |
isFlagType, |
|
|
bool |
isDesignable, |
|
|
QMetaEnum * |
metaEnum = NULL |
|
) |
| |
build a QtVariantProperty from name, type, property...etc...
int camitk::ObjectControllerPrivate::enumToInt |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
enumValue |
|
) |
| const |
int camitk::ObjectControllerPrivate::flagToInt |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
flagValue |
|
) |
| const |
int camitk::ObjectControllerPrivate::intToEnum |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
intValue |
|
) |
| const |
int camitk::ObjectControllerPrivate::intToFlag |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
intValue |
|
) |
| const |
bool camitk::ObjectControllerPrivate::isPowerOf2 |
( |
int |
value | ) |
const |
bool camitk::ObjectControllerPrivate::isSubValue |
( |
int |
value, |
|
|
int |
subValue |
|
) |
| const |
void camitk::ObjectControllerPrivate::restoreExpandedState |
( |
| ) |
|
void camitk::ObjectControllerPrivate::saveChange |
( |
QtProperty * |
property, |
|
|
const QVariant & |
value |
|
) |
| |
void camitk::ObjectControllerPrivate::saveExpandedState |
( |
| ) |
|
void camitk::ObjectControllerPrivate::updateClassProperties |
( |
const QMetaObject * |
metaObject, |
|
|
bool |
recursive |
|
) |
| |
void camitk::ObjectControllerPrivate::updateDynamicProperties |
( |
const QObject * |
edited | ) |
|
void camitk::ObjectControllerPrivate::valueChanged |
( |
QtProperty * |
property, |
|
|
const QVariant |
value |
|
) |
| |
QtAbstractPropertyBrowser* camitk::ObjectControllerPrivate::m_browser |
the browser where all properties are shown to the user
QMap<QtProperty *, int> camitk::ObjectControllerPrivate::m_classPropertyToIndex |
map from the class property to the index in the meta object
QMap<const QMetaObject *, QMap<int, QtVariantProperty *> > camitk::ObjectControllerPrivate::m_classToIndexToProperty |
Each meta object have a map to get the property by its index.
QMap<QtProperty *, int> camitk::ObjectControllerPrivate::m_dynamicPropertyToIndex |
map from the dynamic property to the idx in the dynamic property
QMap<int, QtVariantProperty *> camitk::ObjectControllerPrivate::m_indexToDynamicProperty |
map from idx of the dynamic property to the property
QtVariantPropertyManager* camitk::ObjectControllerPrivate::m_manager |
the main property manager (does not include the read only property)
QObject* camitk::ObjectControllerPrivate::m_object |
the currently edited object
QMap<QtProperty *, bool> camitk::ObjectControllerPrivate::m_propertyToExpanded |
QtVariantPropertyManager* camitk::ObjectControllerPrivate::m_readOnlyManager |
the property manager for the read only property
QList<QtProperty *> camitk::ObjectControllerPrivate::m_topLevelProperties |
QMap<QtProperty *, QVariant> camitk::ObjectControllerPrivate::saveChangeValue |
when a property is modified by the user, the change is stored here (until applyChange is called)
The documentation for this class was generated from the following file: