Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQuickDesignerCustomObjectData Class Reference

#include <qquickdesignercustomobjectdata_p.h>

+ Collaboration diagram for QQuickDesignerCustomObjectData:

Public Member Functions

void handleDestroyed ()
 

Static Public Member Functions

static void registerData (QObject *object)
 
static QQuickDesignerCustomObjectDataget (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)
 

Detailed Description

Definition at line 29 of file qquickdesignercustomobjectdata_p.h.

Member Function Documentation

◆ doResetProperty()

void QQuickDesignerCustomObjectData::doResetProperty ( QObject * object,
QQmlContext * context,
const QQuickDesignerSupport::PropertyName & propertyName )
static

Definition at line 60 of file qquickdesignercustomobjectdata.cpp.

References context, and get().

Referenced by QQuickDesignerSupportProperties::doResetProperty().

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

◆ get()

QQuickDesignerCustomObjectData * QQuickDesignerCustomObjectData::get ( QObject * object)
static

Definition at line 45 of file qquickdesignercustomobjectdata.cpp.

Referenced by doResetProperty(), getResetValue(), hasBindingForProperty(), hasValidResetBinding(), keepBindingFromGettingDeleted(), and setPropertyBinding().

+ Here is the caller graph for this function:

◆ getResetValue()

QVariant QQuickDesignerCustomObjectData::getResetValue ( QObject * object,
const QQuickDesignerSupport::PropertyName & propertyName )
static

Definition at line 50 of file qquickdesignercustomobjectdata.cpp.

References get().

Referenced by QQuickDesignerSupportProperties::getResetValue().

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

◆ handleDestroyed()

void QQuickDesignerCustomObjectData::handleDestroyed ( )

Definition at line 260 of file qquickdesignercustomobjectdata.cpp.

◆ hasBindingForProperty()

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

Definition at line 78 of file qquickdesignercustomobjectdata.cpp.

References context, and get().

Referenced by QQuickDesignerSupportProperties::hasBindingForProperty().

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

◆ hasValidResetBinding()

bool QQuickDesignerCustomObjectData::hasValidResetBinding ( QObject * object,
const QQuickDesignerSupport::PropertyName & propertyName )
static

Definition at line 68 of file qquickdesignercustomobjectdata.cpp.

References get().

Referenced by QQuickDesignerSupportProperties::hasValidResetBinding().

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

◆ keepBindingFromGettingDeleted()

void QQuickDesignerCustomObjectData::keepBindingFromGettingDeleted ( QObject * object,
QQmlContext * context,
const QQuickDesignerSupport::PropertyName & propertyName )
static

Definition at line 102 of file qquickdesignercustomobjectdata.cpp.

References context, and get().

Referenced by QQuickDesignerSupportProperties::keepBindingFromGettingDeleted().

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

◆ registerData()

void QQuickDesignerCustomObjectData::registerData ( QObject * object)
static

Definition at line 40 of file qquickdesignercustomobjectdata.cpp.

Referenced by QQuickDesignerSupportProperties::registerCustomData().

+ Here is the caller graph for this function:

◆ setPropertyBinding()

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

Definition at line 91 of file qquickdesignercustomobjectdata.cpp.

References context, and get().

Referenced by QQuickDesignerSupportProperties::setPropertyBinding().

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

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