34 static QVariant getResetValue(QObject *object,
const QQuickDesignerSupport::PropertyName &propertyName);
35 static void doResetProperty(QObject *object, QQmlContext *context,
const QQuickDesignerSupport::PropertyName &propertyName);
36 static bool hasValidResetBinding(QObject *object,
const QQuickDesignerSupport::PropertyName &propertyName);
39 const QQuickDesignerSupport::PropertyName &propertyName,
43 const QQuickDesignerSupport::PropertyName &propertyName,
44 const QString &expression);
47 const QQuickDesignerSupport::PropertyName &propertyName);
51 QQuickDesignerCustomObjectData(QObject *object);
52 void populateResetHashes();
53 QObject *object()
const;
54 QVariant getResetValue(
const QQuickDesignerSupport::PropertyName &propertyName)
const;
55 void doResetProperty(QQmlContext *context,
const QQuickDesignerSupport::PropertyName &propertyName);
56 bool hasValidResetBinding(
const QQuickDesignerSupport::PropertyName &propertyName)
const;
57 QQmlAnyBinding getResetBinding(
const QQuickDesignerSupport::PropertyName &propertyName)
const;
58 bool hasBindingForProperty(QQmlContext *context,
const QQuickDesignerSupport::PropertyName &propertyName,
bool *hasChanged)
const;
59 void setPropertyBinding(QQmlContext *context,
const QQuickDesignerSupport::PropertyName &propertyName,
const QString &expression);
60 void keepBindingFromGettingDeleted(QQmlContext *context,
const QQuickDesignerSupport::PropertyName &propertyName);
63 QHash<QQuickDesignerSupport::PropertyName, QVariant> m_resetValueHash;
64 QHash<QQuickDesignerSupport::PropertyName, QQmlAnyBinding> m_resetBindingHash;
65 mutable QHash<QQuickDesignerSupport::PropertyName,
bool> m_hasBindingHash;