Computer Assisted Medical Intervention Tool Kit  version 6.0
Loading...
Searching...
No Matches
ObjectControllerPrivate Class Reference

Public Member Functions

void addClassProperties (const QMetaObject *metaObject)
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 saveExpandedState ()
void slotValueChanged (QtProperty *property, const QVariant &value)
void updateClassProperties (const QMetaObject *metaObject, bool recursive)

Public Attributes

QtAbstractPropertyBrowserm_browser
QMap< const QMetaObject *, QMap< int, QtVariantProperty * > > m_classToIndexToProperty
QMap< const QMetaObject *, QtProperty * > m_classToProperty
QtVariantPropertyManagerm_manager
QObject * m_object
QMap< QtProperty *, const QMetaObject * > m_propertyToClass
QMap< QtProperty *, bool > m_propertyToExpanded
QMap< QtProperty *, int > m_propertyToIndex
QtVariantPropertyManagerm_readOnlyManager
QList< QtProperty * > m_topLevelProperties

Member Function Documentation

◆ addClassProperties()

◆ 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

Referenced by slotValueChanged().

◆ intToFlag()

int ObjectControllerPrivate::intToFlag ( const QMetaEnum & metaEnum,
int intValue ) const

References isPowerOf2().

Referenced by slotValueChanged().

◆ isPowerOf2()

bool ObjectControllerPrivate::isPowerOf2 ( int value) const

◆ isSubValue()

bool ObjectControllerPrivate::isSubValue ( int value,
int subValue ) const

Referenced by flagToInt().

◆ restoreExpandedState()

void ObjectControllerPrivate::restoreExpandedState ( )

◆ saveExpandedState()

void ObjectControllerPrivate::saveExpandedState ( )

◆ slotValueChanged()

void ObjectControllerPrivate::slotValueChanged ( QtProperty * property,
const QVariant & value )

◆ updateClassProperties()

void ObjectControllerPrivate::updateClassProperties ( const QMetaObject * metaObject,
bool recursive )

Member Data Documentation

◆ m_browser

QtAbstractPropertyBrowser* ObjectControllerPrivate::m_browser

Referenced by addClassProperties().

◆ m_classToIndexToProperty

QMap<const QMetaObject*, QMap<int, QtVariantProperty*> > ObjectControllerPrivate::m_classToIndexToProperty

◆ m_classToProperty

QMap<const QMetaObject*, QtProperty*> ObjectControllerPrivate::m_classToProperty

◆ m_manager

QtVariantPropertyManager* ObjectControllerPrivate::m_manager

Referenced by addClassProperties().

◆ m_object

QObject* ObjectControllerPrivate::m_object

◆ m_propertyToClass

QMap<QtProperty*, const QMetaObject*> ObjectControllerPrivate::m_propertyToClass

Referenced by addClassProperties().

◆ m_propertyToExpanded

QMap<QtProperty*, bool> ObjectControllerPrivate::m_propertyToExpanded

◆ m_propertyToIndex

QMap<QtProperty*, int> ObjectControllerPrivate::m_propertyToIndex

◆ m_readOnlyManager

QtVariantPropertyManager* ObjectControllerPrivate::m_readOnlyManager

Referenced by addClassProperties().

◆ m_topLevelProperties

QList<QtProperty*> ObjectControllerPrivate::m_topLevelProperties

Referenced by addClassProperties().


The documentation for this class was generated from the following file: