summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/objectmodel/properties.qdoc
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-11-23 10:51:57 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-11-30 17:16:22 +0100
commitaf7f7732cb52888c468b3e86a67e61b83fee11e2 (patch)
treed0a6f71c7864dd8b307bac87d9f24ca3fc9c78d7 /src/corelib/doc/src/objectmodel/properties.qdoc
parent9aa34f3bf2f4dac1b9c0a29a57f0fe863c2bd951 (diff)
Doc: Document BINDABLE attribute for Q_PROPERTY macro
Pick-to: 6.0 Fixes: QTBUG-87036 Change-Id: Ia6067d887b9b697dbcb8e02bce5a560a8ac5eaf3 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/doc/src/objectmodel/properties.qdoc')
-rw-r--r--src/corelib/doc/src/objectmodel/properties.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/doc/src/objectmodel/properties.qdoc b/src/corelib/doc/src/objectmodel/properties.qdoc
index e3c506e8bc..9a2517e050 100644
--- a/src/corelib/doc/src/objectmodel/properties.qdoc
+++ b/src/corelib/doc/src/objectmodel/properties.qdoc
@@ -131,6 +131,12 @@
editable property for (checkable) buttons. Note that QItemDelegate
gets and sets a widget's \c USER property.
+ \li The \c {BINDABLE bindableProperty} attribute indicates that the
+ property supports bindings, and that it is possible to set and inspect
+ bindings to this property via the meta object system (QMetaProperty).
+ \c bindableProperty names a class member of type QBindable<T>, where T
+ is the property type. This attribute was introduced in Qt 6.0.
+
\li The presence of the \c CONSTANT attribute indicates that the property
value is constant. For a given object instance, the READ method of a
constant property must return the same value every time it is called. This