tapObject
tapObject(objectOrName)
tapObject(objectOrName, x, y)
tapObject(objectOrName, x, y, modifiers, delayAfterPress)
This function taps on the specified objectOrName
Widget or Item. All of the arguments after that are optional. If they are not specified, the tap is made in the center of the widget using no keyboard modifiers and a very brief delay. If coordinate parameters are given, the tap is made at position x
and y
in the objectOrName
widget's coordinates. See Squish API Function Parameters for a list of valid modifiers
values. delayAfterPress
can be a number in milliseconds, specifying how long the tap is held down before a release.
Tapping is supported on objects of type QQuickItem, QWindow and QWidget.
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.