Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickDesignerSupportProperties Class Reference

#include <qquickdesignersupportproperties_p.h>

+ Collaboration diagram for QQuickDesignerSupportProperties:

Static Public Member Functions

static void createNewDynamicProperty (QObject *object, QQmlEngine *engine, const QString &name)
 
static void registerNodeInstanceMetaObject (QObject *object, QQmlEngine *engine)
 
static void registerCustomData (QObject *object)
 
static QVariant getResetValue (QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
 
static void doResetProperty (QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
 
static bool hasValidResetBinding (QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
 
static bool hasBindingForProperty (QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, bool *hasChanged)
 
static void setPropertyBinding (QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
 
static void keepBindingFromGettingDeleted (QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
 
static bool isPropertyQObject (const QMetaProperty &metaProperty)
 
static QObjectreadQObjectProperty (const QMetaProperty &metaProperty, QObject *object)
 
static void getPropertyCache (QObject *object)
 
static bool isPropertyBlackListed (const QQuickDesignerSupport::PropertyName &propertyName)
 
static QQuickDesignerSupport::PropertyNameList propertyNameListForWritableProperties (QObject *object)
 
static QQuickDesignerSupport::PropertyNameList allPropertyNames (QObject *object, const QQuickDesignerSupport::PropertyName &baseName=QQuickDesignerSupport::PropertyName(), QObjectList *inspectedObjects=nullptr, int depth=0)
 
static bool hasFullImplementedListInterface (const QQmlListReference &list)
 

Detailed Description

Definition at line 30 of file qquickdesignersupportproperties_p.h.

Member Function Documentation

◆ allPropertyNames()

QQuickDesignerSupport::PropertyNameList QQuickDesignerSupportProperties::allPropertyNames ( QObject object,
const QQuickDesignerSupport::PropertyName baseName = QQuickDesignerSupport::PropertyName(),
QObjectList inspectedObjects = nullptr,
int  depth = 0 
)
static

Definition at line 154 of file qquickdesignersupportproperties.cpp.

References addToPropertyNameListIfNotBlackListed(), allPropertyNames(), QList< T >::append(), QListSpecialMethodsBase< T >::contains(), QString::fromUtf8(), QQmlGadgetPtrWrapper::instance(), QQmlProperty::isValid(), metaObject(), QMetaProperty::metaType(), QMetaProperty::name(), QQmlProperty::name, QQmlProperty::Object, QQmlProperty::propertyTypeCategory(), qmlEngine(), QQmlProperty::read(), QMetaProperty::read(), QString::split(), and QQmlMetaType::toQObject().

Referenced by allPropertyNames().

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

◆ createNewDynamicProperty()

void QQuickDesignerSupportProperties::createNewDynamicProperty ( QObject object,
QQmlEngine engine,
const QString name 
)
static

Definition at line 18 of file qquickdesignersupportproperties.cpp.

References QQmlDesignerMetaObject::createNewDynamicProperty(), engine, and QQmlDesignerMetaObject::getNodeInstanceMetaObject().

+ Here is the call graph for this function:

◆ doResetProperty()

void QQuickDesignerSupportProperties::doResetProperty ( QObject object,
QQmlContext context,
const QQuickDesignerSupport::PropertyName propertyName 
)
static

Definition at line 44 of file qquickdesignersupportproperties.cpp.

References context, and QQuickDesignerCustomObjectData::doResetProperty().

+ Here is the call graph for this function:

◆ getPropertyCache()

void QQuickDesignerSupportProperties::getPropertyCache ( QObject object)
static

Definition at line 88 of file qquickdesignersupportproperties.cpp.

References QQmlMetaType::propertyCache().

+ Here is the call graph for this function:

◆ getResetValue()

QVariant QQuickDesignerSupportProperties::getResetValue ( QObject object,
const QQuickDesignerSupport::PropertyName propertyName 
)
static

Definition at line 39 of file qquickdesignersupportproperties.cpp.

References QQuickDesignerCustomObjectData::getResetValue().

+ Here is the call graph for this function:

◆ hasBindingForProperty()

bool QQuickDesignerSupportProperties::hasBindingForProperty ( QObject object,
QQmlContext context,
const QQuickDesignerSupport::PropertyName propertyName,
bool *  hasChanged 
)
static

Definition at line 54 of file qquickdesignersupportproperties.cpp.

References context, and QQuickDesignerCustomObjectData::hasBindingForProperty().

+ Here is the call graph for this function:

◆ hasFullImplementedListInterface()

bool QQuickDesignerSupportProperties::hasFullImplementedListInterface ( const QQmlListReference list)
static

Definition at line 29 of file qquickdesignersupportproperties.cpp.

References list.

◆ hasValidResetBinding()

bool QQuickDesignerSupportProperties::hasValidResetBinding ( QObject object,
const QQuickDesignerSupport::PropertyName propertyName 
)
static

Definition at line 49 of file qquickdesignersupportproperties.cpp.

References QQuickDesignerCustomObjectData::hasValidResetBinding().

+ Here is the call graph for this function:

◆ isPropertyBlackListed()

bool QQuickDesignerSupportProperties::isPropertyBlackListed ( const QQuickDesignerSupport::PropertyName propertyName)
static

Definition at line 143 of file qquickdesignersupportproperties.cpp.

References QByteArray::contains(), and QByteArray::count().

Referenced by addToPropertyNameListIfNotBlackListed().

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

◆ isPropertyQObject()

bool QQuickDesignerSupportProperties::isPropertyQObject ( const QMetaProperty metaProperty)
static

Definition at line 77 of file qquickdesignersupportproperties.cpp.

References QMetaType::flags(), QMetaProperty::metaType(), and QMetaType::PointerToQObject.

+ Here is the call graph for this function:

◆ keepBindingFromGettingDeleted()

void QQuickDesignerSupportProperties::keepBindingFromGettingDeleted ( QObject object,
QQmlContext context,
const QQuickDesignerSupport::PropertyName propertyName 
)
static

Definition at line 70 of file qquickdesignersupportproperties.cpp.

References context, and QQuickDesignerCustomObjectData::keepBindingFromGettingDeleted().

+ Here is the call graph for this function:

◆ propertyNameListForWritableProperties()

QQuickDesignerSupport::PropertyNameList QQuickDesignerSupportProperties::propertyNameListForWritableProperties ( QObject object)
static

Definition at line 137 of file qquickdesignersupportproperties.cpp.

◆ readQObjectProperty()

QObject * QQuickDesignerSupportProperties::readQObjectProperty ( const QMetaProperty metaProperty,
QObject object 
)
static

Definition at line 83 of file qquickdesignersupportproperties.cpp.

References QMetaProperty::read(), and QQmlMetaType::toQObject().

+ Here is the call graph for this function:

◆ registerCustomData()

void QQuickDesignerSupportProperties::registerCustomData ( QObject object)
static

Definition at line 34 of file qquickdesignersupportproperties.cpp.

References QQuickDesignerCustomObjectData::registerData().

+ Here is the call graph for this function:

◆ registerNodeInstanceMetaObject()

void QQuickDesignerSupportProperties::registerNodeInstanceMetaObject ( QObject object,
QQmlEngine engine 
)
static

Definition at line 23 of file qquickdesignersupportproperties.cpp.

References engine, and QQmlDesignerMetaObject::getNodeInstanceMetaObject().

+ Here is the call graph for this function:

◆ setPropertyBinding()

void QQuickDesignerSupportProperties::setPropertyBinding ( QObject object,
QQmlContext context,
const QQuickDesignerSupport::PropertyName propertyName,
const QString expression 
)
static

Definition at line 62 of file qquickdesignersupportproperties.cpp.

References context, and QQuickDesignerCustomObjectData::setPropertyBinding().

+ Here is the call graph for this function:

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