diff options
author | Aram So <aram.so@lge.com> | 2017-01-23 11:12:42 +0900 |
---|---|---|
committer | Aram So <aram.so@lge.com> | 2017-01-24 08:29:17 +0000 |
commit | fb36e37928a6267a4f1881995b3aa53740a0a399 (patch) | |
tree | 1bc13da624d7822ddd1ee5caad2284a025264f80 /src/quick/items | |
parent | 94e6106d357ca5a1349a2b10a69dd84db34065c8 (diff) |
Doc: Added a description of visible in MouseArea
Task-number: QTBUG-56881
Change-Id: I5e1614c2854b166f87b20804e13d7686e11f3a3a
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquickmousearea.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/items/qquickmousearea.cpp b/src/quick/items/qquickmousearea.cpp index 2f66bbebf2..bb23b1fd54 100644 --- a/src/quick/items/qquickmousearea.cpp +++ b/src/quick/items/qquickmousearea.cpp @@ -206,6 +206,9 @@ bool QQuickMouseAreaPrivate::propagateHelper(QQuickMouseEvent *ev, QQuickItem *i the proxied item. When disabled, the mouse area becomes transparent to mouse events. + MouseArea is an invisible Item, but it has a visible property. + When set to false, the mouse area becomes transparent to mouse events. + The \l pressed read-only property indicates whether or not the user is holding down a mouse button over the mouse area. This property is often used in bindings between properties in a user interface. The containsMouse |