Add note to QQuickItem docs about directly setting properties in C++.
authorMitch Curtis <mitch.curtis@theqtcompany.com>
Thu, 16 Oct 2014 09:06:32 +0000 (11:06 +0200)
committerMitch Curtis <mitch.curtis@digia.com>
Wed, 22 Oct 2014 12:29:02 +0000 (14:29 +0200)
commited7a6358e35f5fdaf7468371a8b29aa6a3ef0fe7
tree3f4d478b611b81c24e57643e1e38d0cc3327b16d
parentdd40295c31cacb2560e5c1ac25e217fd497600a3
Add note to QQuickItem docs about directly setting properties in C++.

It's not obvious that calling setPosition() directly, for example,
won't trigger animations defined in behaviors that react to that
item's x and y properties changing, because a quick glance at the
code shows that they have almost identical code paths and both
emit geometryChanged().

Change-Id: Ic7f7019b1bbba24732569c0de777ee02d79c1d3b
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/items/qquickitem.cpp