diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-10-09 08:57:20 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-10-09 08:34:24 +0000 |
commit | 453a3806a31b29e8d57664359395ff1a59fdd49e (patch) | |
tree | 26f8d61147f5d2d6f94216da0279dd7de326b77a /src | |
parent | 10095542d16fc9f5b2c585abf72fe00be9debff3 (diff) |
Document that aliases cannot point to attached properties
Change-Id: I0acef28542e5322cf3de23ec7fcb571513ccb673
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc index 31650db7c0..2bb1fcac61 100644 --- a/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc +++ b/src/qml/doc/src/qmllanguageref/syntax/objectattributes.qdoc @@ -462,6 +462,8 @@ Unlike an ordinary property, an alias has the following restrictions: \li The \e {alias reference} is not optional, unlike the optional default value for an ordinary property; the alias reference must be provided when the alias is first declared. +\li It cannot refer to \l {Attached Properties and Attached Signal Handlers} + {attached properties}. \li It cannot refer to grouped properties; the following code will not work: \code property alias color: rectangle.border.color |