Collaboration diagram for ObjectControllerPrivate: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 | |
| QtAbstractPropertyBrowser * | m_browser |
| QMap< const QMetaObject *, QMap< int, QtVariantProperty * > > | m_classToIndexToProperty |
| QMap< const QMetaObject *, QtProperty * > | m_classToProperty |
| QtVariantPropertyManager * | m_manager |
| QObject * | m_object |
| QMap< QtProperty *, const QMetaObject * > | m_propertyToClass |
| QMap< QtProperty *, bool > | m_propertyToExpanded |
| QMap< QtProperty *, int > | m_propertyToIndex |
| QtVariantPropertyManager * | m_readOnlyManager |
| QList< QtProperty * > | m_topLevelProperties |
| void ObjectControllerPrivate::addClassProperties | ( | const QMetaObject * | metaObject | ) |
References QtVariantPropertyManager::addProperty(), QtAbstractPropertyBrowser::addProperty(), QtProperty::addSubProperty(), enumToInt(), QtVariantPropertyManager::enumTypeId(), flagToInt(), QtVariantPropertyManager::flagTypeId(), QtVariantPropertyManager::groupTypeId(), isPowerOf2(), QtVariantPropertyManager::isPropertyTypeSupported(), m_browser, m_classToIndexToProperty, m_classToProperty, m_manager, m_object, m_propertyToClass, m_propertyToIndex, m_readOnlyManager, m_topLevelProperties, QtVariantProperty::setAttribute(), QtProperty::setEnabled(), QtVariantProperty::setValue(), updateClassProperties(), and QtVariantProperty::value().
Referenced by ObjectController::setObject().
Here is the call graph for this function:
Here is the caller graph for this function:| int ObjectControllerPrivate::enumToInt | ( | const QMetaEnum & | metaEnum, |
| int | enumValue | ||
| ) | const |
Referenced by addClassProperties(), and updateClassProperties().
Here is the caller graph for this function:| int ObjectControllerPrivate::flagToInt | ( | const QMetaEnum & | metaEnum, |
| int | flagValue | ||
| ) | const |
References isPowerOf2(), and isSubValue().
Referenced by addClassProperties(), and updateClassProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| int ObjectControllerPrivate::intToEnum | ( | const QMetaEnum & | metaEnum, |
| int | intValue | ||
| ) | const |
| int ObjectControllerPrivate::intToFlag | ( | const QMetaEnum & | metaEnum, |
| int | intValue | ||
| ) | const |
References isPowerOf2().
Referenced by slotValueChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ObjectControllerPrivate::isPowerOf2 | ( | int | value | ) | const |
Referenced by addClassProperties(), flagToInt(), and intToFlag().
Here is the caller graph for this function:| bool ObjectControllerPrivate::isSubValue | ( | int | value, |
| int | subValue | ||
| ) | const |
| void ObjectControllerPrivate::restoreExpandedState | ( | ) |
| void ObjectControllerPrivate::saveExpandedState | ( | ) |
| void ObjectControllerPrivate::slotValueChanged | ( | QtProperty * | property, |
| const QVariant & | value | ||
| ) |
References intToEnum(), intToFlag(), m_object, m_propertyToIndex, and updateClassProperties().
Here is the call graph for this function:| void ObjectControllerPrivate::updateClassProperties | ( | const QMetaObject * | metaObject, |
| bool | recursive | ||
| ) |
References enumToInt(), flagToInt(), m_classToIndexToProperty, m_classToProperty, m_object, and QtVariantProperty::setValue().
Referenced by addClassProperties(), and slotValueChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| QtAbstractPropertyBrowser* ObjectControllerPrivate::m_browser |
Referenced by addClassProperties(), ObjectController::ObjectController(), and ObjectController::setObject().
| QMap<const QMetaObject*, QMap<int, QtVariantProperty*> > ObjectControllerPrivate::m_classToIndexToProperty |
Referenced by addClassProperties(), and updateClassProperties().
| QMap<const QMetaObject*, QtProperty*> ObjectControllerPrivate::m_classToProperty |
Referenced by addClassProperties(), and updateClassProperties().
| QtVariantPropertyManager* ObjectControllerPrivate::m_manager |
Referenced by addClassProperties(), and ObjectController::ObjectController().
| 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 |
Referenced by addClassProperties(), and slotValueChanged().
| QtVariantPropertyManager* ObjectControllerPrivate::m_readOnlyManager |
Referenced by addClassProperties(), and ObjectController::ObjectController().
| QList<QtProperty*> ObjectControllerPrivate::m_topLevelProperties |
Referenced by addClassProperties(), and ObjectController::setObject().