From 9cb13a422e11b6523aa52cd71cf073c8469c20d6 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 28 Sep 2018 22:38:41 +0200 Subject: QQuickItem: document which events are accepted by default Change-Id: I64a2ab811b48d2a231e18c493fb1f6087fd02905 Reviewed-by: Shawn Rutledge --- src/quick/doc/src/includes/item.qdocinc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/quick/doc') 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] -- cgit v1.2.3