#include <ObjectController.h>
|
void | addClassProperties (const QMetaObject *metaObject) |
|
void | addDynamicProperties (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) |
|
◆ addClassProperties()
void ObjectControllerPrivate::addClassProperties |
( |
const QMetaObject * |
metaObject | ) |
|
◆ addDynamicProperties()
void ObjectControllerPrivate::addDynamicProperties |
( |
QObject * |
edited | ) |
|
◆ applyChange()
void ObjectControllerPrivate::applyChange |
( |
| ) |
|
◆ buildQtVariantProperty()
QtVariantProperty * ObjectControllerPrivate::buildQtVariantProperty |
( |
QString |
name, |
|
|
QMetaType::Type |
type, |
|
|
QVariant |
value, |
|
|
bool |
isReadable, |
|
|
bool |
isWritable, |
|
|
bool |
isEnumType, |
|
|
bool |
isFlagType, |
|
|
bool |
isDesignable, |
|
|
QMetaEnum * |
metaEnum = NULL |
|
) |
| |
◆ enumToInt()
int ObjectControllerPrivate::enumToInt |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
enumValue |
|
) |
| const |
◆ flagToInt()
int ObjectControllerPrivate::flagToInt |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
flagValue |
|
) |
| const |
◆ intToEnum()
int ObjectControllerPrivate::intToEnum |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
intValue |
|
) |
| const |
◆ intToFlag()
int ObjectControllerPrivate::intToFlag |
( |
const QMetaEnum & |
metaEnum, |
|
|
int |
intValue |
|
) |
| const |
◆ isPowerOf2()
bool ObjectControllerPrivate::isPowerOf2 |
( |
int |
value | ) |
const |
◆ isSubValue()
bool ObjectControllerPrivate::isSubValue |
( |
int |
value, |
|
|
int |
subValue |
|
) |
| const |
◆ restoreExpandedState()
void ObjectControllerPrivate::restoreExpandedState |
( |
| ) |
|
◆ saveChange()
void ObjectControllerPrivate::saveChange |
( |
QtProperty * |
property, |
|
|
const QVariant & |
value |
|
) |
| |
◆ saveExpandedState()
void ObjectControllerPrivate::saveExpandedState |
( |
| ) |
|
◆ updateClassProperties()
void ObjectControllerPrivate::updateClassProperties |
( |
const QMetaObject * |
metaObject, |
|
|
bool |
recursive |
|
) |
| |
◆ updateDynamicProperties()
void ObjectControllerPrivate::updateDynamicProperties |
( |
const QObject * |
edited | ) |
|
◆ valueChanged()
void ObjectControllerPrivate::valueChanged |
( |
QtProperty * |
property, |
|
|
const QVariant |
value |
|
) |
| |
◆ groupProperties
QMap<QString, QtProperty*> camitk::ObjectControllerPrivate::groupProperties |
map of all the QtProperty that are top-level groups
◆ m_browser
◆ m_classPropertyToIndex
QMap<QtProperty*, int> camitk::ObjectControllerPrivate::m_classPropertyToIndex |
map from the class property to the index in the meta object
◆ m_classToIndexToProperty
QMap<const QMetaObject*, QMap<int, QtVariantProperty*> > camitk::ObjectControllerPrivate::m_classToIndexToProperty |
Each meta object have a map to get the property by its index.
◆ m_dynamicPropertyToIndex
QMap<QtProperty*, int> camitk::ObjectControllerPrivate::m_dynamicPropertyToIndex |
map from the dynamic property to the idx in the dynamic property
◆ m_indexToDynamicProperty
QMap<int, QtVariantProperty*> camitk::ObjectControllerPrivate::m_indexToDynamicProperty |
map from idx of the dynamic property to the property
◆ m_manager
the main property manager (does not include the read only property)
◆ m_object
QObject* camitk::ObjectControllerPrivate::m_object |
the currently edited object
◆ m_propertyToExpanded
QMap<QtProperty*, bool> camitk::ObjectControllerPrivate::m_propertyToExpanded |
◆ m_readOnlyManager
the property manager for the read only property
◆ m_topLevelProperties
QList<QtProperty*> camitk::ObjectControllerPrivate::m_topLevelProperties |
◆ q_ptr
◆ saveChangeValue
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 files: