Doc: explain how to create a test touch device for use with touchEvent

Change-Id: Ib60eb0754449da7c50f8632ebd5228ddbe8389f1
Pick-to: 6.0 6.0.0 5.15 5.12
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Mitch Curtis 2020-11-12 12:04:23 +01:00 committed by Volker Hilsheimer
parent 3ef32ce901
commit 5861e06568
1 changed files with 7 additions and 1 deletions

View File

@ -1268,7 +1268,7 @@
should typically use createTouchDevice() to initialize a QPointingDevice
member variable in your test case class, and use the same instance for all tests.
\sa QTest::QTouchEventSequence
\sa QTest::QTouchEventSequence, touchEvent()
*/
/*!
@ -1404,6 +1404,9 @@
QTouchEventSequence is called (ie when the object returned runs out of scope), unless
\a autoCommit is set to false. When \a autoCommit is false, commit() has to be called
manually.
\l createTouchDevice() can be called to create a test touch device for use with this
function.
*/
/*!
@ -1420,6 +1423,9 @@
QTouchEventSequence is called (ie when the object returned runs out of scope), unless
\a autoCommit is set to false. When \a autoCommit is false, commit() has to be called
manually.
\l createTouchDevice() can be called to create a test touch device for use with this
function.
*/
// Internals of qtestmouse.h: