Computer Assited Medical Intervention Tool Kit  version 4.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
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
 

Private Attributes

ObjectControllerq_ptr
 

Member Function Documentation

void ObjectControllerPrivate::addClassProperties ( const QMetaObject *  metaObject)
int ObjectControllerPrivate::enumToInt ( const QMetaEnum &  metaEnum,
int  enumValue 
) const
int ObjectControllerPrivate::flagToInt ( const QMetaEnum &  metaEnum,
int  flagValue 
) const
int ObjectControllerPrivate::intToEnum ( const QMetaEnum &  metaEnum,
int  intValue 
) const

Referenced by slotValueChanged().

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

References isPowerOf2().

Referenced by slotValueChanged().

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

Referenced by flagToInt().

void ObjectControllerPrivate::restoreExpandedState ( )
void ObjectControllerPrivate::saveExpandedState ( )
void ObjectControllerPrivate::slotValueChanged ( QtProperty property,
const QVariant &  value 
)
void ObjectControllerPrivate::updateClassProperties ( const QMetaObject *  metaObject,
bool  recursive 
)

Member Data Documentation

QtAbstractPropertyBrowser* ObjectControllerPrivate::m_browser
QMap<const QMetaObject *, QMap<int, QtVariantProperty *> > ObjectControllerPrivate::m_classToIndexToProperty
QMap<const QMetaObject *, QtProperty *> ObjectControllerPrivate::m_classToProperty
QtVariantPropertyManager* ObjectControllerPrivate::m_manager
QObject* ObjectControllerPrivate::m_object
QMap<QtProperty *, const QMetaObject *> ObjectControllerPrivate::m_propertyToClass

Referenced by addClassProperties().

QMap<QtProperty *, bool> ObjectControllerPrivate::m_propertyToExpanded
QMap<QtProperty *, int> ObjectControllerPrivate::m_propertyToIndex
QtVariantPropertyManager* ObjectControllerPrivate::m_readOnlyManager
QList<QtProperty *> ObjectControllerPrivate::m_topLevelProperties
ObjectController* ObjectControllerPrivate::q_ptr
private

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