Add a note to QTouchEvent docs about empty touchpoint lists
Change-Id: I65e9e3ed2069d9194f5e70fb9731d605e0979e6d Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
parent
1e4f035158
commit
83a70a7415
@ -3378,9 +3378,10 @@ QWindowStateChangeEvent::~QWindowStateChangeEvent()
|
||||
gestures. Whenever such a decision is made (the gesture is recognized), the clients will be
|
||||
notified with a QEvent::TouchCancel event so they can update their state accordingly.
|
||||
|
||||
The touchPoints() function returns a list of all touch points contained in the event.
|
||||
Information about each touch point can be retrieved using the QTouchEvent::TouchPoint class.
|
||||
The Qt::TouchPointState enum describes the different states that a touch point may have.
|
||||
The touchPoints() function returns a list of all touch points contained in the event. Note that
|
||||
this list may be empty, for example in case of a QEvent::TouchCancel event. Information about
|
||||
each touch point can be retrieved using the QTouchEvent::TouchPoint class. The
|
||||
Qt::TouchPointState enum describes the different states that a touch point may have.
|
||||
|
||||
\section1 Event Delivery and Propagation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user