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
 

Detailed Description

Definition at line 51 of file objectcontroller.cpp.

Member Function Documentation

◆ addClassProperties()

void addClassProperties ( const QMetaObject *  metaObject)

Definition at line 290 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enumToInt()

int enumToInt ( const QMetaEnum &  metaEnum,
int  enumValue 
) const

Definition at line 85 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ flagToInt()

int flagToInt ( const QMetaEnum &  metaEnum,
int  flagValue 
) const

Definition at line 173 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ intToEnum()

int intToEnum ( const QMetaEnum &  metaEnum,
int  intValue 
) const

Definition at line 108 of file objectcontroller.cpp.

+ Here is the caller graph for this function:

◆ intToFlag()

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

Definition at line 202 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isPowerOf2()

bool isPowerOf2 ( int  value) const

Definition at line 158 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isSubValue()

bool isSubValue ( int  value,
int  subValue 
) const

Definition at line 132 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ restoreExpandedState()

void restoreExpandedState ( )

Definition at line 408 of file objectcontroller.cpp.

+ Here is the caller graph for this function:

◆ saveExpandedState()

void saveExpandedState ( )

Definition at line 403 of file objectcontroller.cpp.

+ Here is the caller graph for this function:

◆ slotValueChanged()

void slotValueChanged ( QtProperty property,
const QVariant &  value 
)

Definition at line 413 of file objectcontroller.cpp.

+ Here is the call graph for this function:

◆ updateClassProperties()

void updateClassProperties ( const QMetaObject *  metaObject,
bool  recursive 
)

Definition at line 241 of file objectcontroller.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_browser

Definition at line 118 of file objectcontroller.cpp.

◆ m_classToIndexToProperty

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

Definition at line 112 of file objectcontroller.cpp.

◆ m_classToProperty

QMap<const QMetaObject*, QtProperty*> m_classToProperty

Definition at line 109 of file objectcontroller.cpp.

◆ m_manager

Definition at line 119 of file objectcontroller.cpp.

◆ m_object

QObject* m_object

Definition at line 107 of file objectcontroller.cpp.

◆ m_propertyToClass

QMap<QtProperty*, const QMetaObject*> m_propertyToClass

Definition at line 110 of file objectcontroller.cpp.

◆ m_propertyToExpanded

QMap<QtProperty*, bool> m_propertyToExpanded

Definition at line 114 of file objectcontroller.cpp.

◆ m_propertyToIndex

QMap<QtProperty*, int> m_propertyToIndex

Definition at line 111 of file objectcontroller.cpp.

◆ m_readOnlyManager

QtVariantPropertyManager* m_readOnlyManager

Definition at line 120 of file objectcontroller.cpp.

◆ m_topLevelProperties

QList<QtProperty*> m_topLevelProperties

Definition at line 116 of file objectcontroller.cpp.


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