itom
Loading...
Searching...
No Matches
ObjectControllerPrivate Class Reference

Public Types

enum  PropertyState { STATE_NONE = 0 , STATE_SELECTED = 0x01 , STATE_EXPANDED = 0x02 }
 
typedef enum ObjectControllerPrivate::PropertyState PropertyState
 

Public Member Functions

void addClassProperties (const QMetaObject *metaObject)
 
void updateClassProperties (const QMetaObject *metaObject, bool recursive)
 
void saveState ()
 
void saveState (QtProperty *prop, QString prefix=QString())
 
void restoreState ()
 
void restoreState (QtProperty *prop, QString prefix=QString())
 
void slotValueChanged (QtProperty *property, const QVariant &value)
 
int enumToInt (const QMetaEnum &metaEnum, int enumValue) const
 
int intToEnum (const QMetaEnum &metaEnum, int intValue) const
 
int flagToInt (const QMetaEnum &metaEnum, int flagValue) const
 
int intToFlag (const QMetaEnum &metaEnum, int intValue) const
 
bool isSubValue (int value, int subValue) const
 
bool isPowerOf2 (int value) const
 

Public Attributes

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

Private Attributes

ObjectControllerq_ptr
 

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