aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-09-28 22:38:41 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-10-04 21:20:22 +0000
commit9cb13a422e11b6523aa52cd71cf073c8469c20d6 (patch)
treee1ea62c6ef5dcc8a2a590bf8779a6fd201779861 /src/quick/doc/src
parent074190902a96c550d9aeb55ead19c0697ce1cbc3 (diff)
QQuickItem: document which events are accepted by default
Change-Id: I64a2ab811b48d2a231e18c493fb1f6087fd02905 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/doc/src')
-rw-r--r--src/quick/doc/src/includes/item.qdocinc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/quick/doc/src/includes/item.qdocinc b/src/quick/doc/src/includes/item.qdocinc
index 12472cb928..4cb2652bbf 100644
--- a/src/quick/doc/src/includes/item.qdocinc
+++ b/src/quick/doc/src/includes/item.qdocinc
@@ -4,3 +4,12 @@ The following properties of the item are used in the mapping:
\l x, \l y, \l scale, \l rotation, \l transformOrigin, and \l [QML]{Item::}{transform}.
//! [mapping]
+
+
+//! [accepting-events]
+
+The event is accepted by default, so it is not necessary to explicitly
+accept the event if you reimplement this function. If you don't accept the
+event, call \c event->ignore().
+
+//! [accepting-events]