diff options
author | Robin Burchell <robin.burchell@jollamobile.com> | 2014-05-07 17:49:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-07 17:58:21 +0200 |
commit | 9dc408e4bdeca5f4724dab65ac49691a49ff93b1 (patch) | |
tree | bcc20227b3f1f3fc8796ad11d48700f359b0f429 /src/quick/items/qquickmousearea.cpp | |
parent | ea164757cd709613c2aa2271a71fa32c9a987b1d (diff) |
Document that MouseArea::enabled is not the same thing as Item::enabled.
This might change in the (long) future, but not yet.
Task-number: QTBUG-38364
Change-Id: Ia424d6b5d54dff88f67b39e4521b5ecc3121fd07
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/quick/items/qquickmousearea.cpp')
-rw-r--r-- | src/quick/items/qquickmousearea.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quick/items/qquickmousearea.cpp b/src/quick/items/qquickmousearea.cpp index a8aadb9eed..5aa72836b3 100644 --- a/src/quick/items/qquickmousearea.cpp +++ b/src/quick/items/qquickmousearea.cpp @@ -459,6 +459,10 @@ qreal QQuickMouseArea::mouseY() const \qmlproperty bool QtQuick::MouseArea::enabled This property holds whether the item accepts mouse events. + \note Due to historical reasons, this property is not equivalent to + Item.enabled. It only affects mouse events, and its effect does not + propagate to child items. + By default, this property is true. */ bool QQuickMouseArea::isEnabled() const |