doubleClick (Windows)
doubleClick(objectOrName)
doubleClick(objectOrName, x, y)
doubleClick(objectOrName, x, y, mouseButton)
doubleClick(objectOrName, x, y, mouseButton, modifierState)
This function double-clicks the objectOrName
widget.
By default the widget is double-clicked in the middle, but this can be changed by passing widget-relative coordinates, x
and y
. By default MouseButton.LeftButton
is used, but this can be changed by specifying the optional mouseButton
argument. Similarly a default modifier state of Modifier.NoModifier
is used, but this can be changed by specifying the modifierState
argument. Note that to specify the button, the coordinates must also be specified; and to specify the modifier state, the coordinates and the button must also be specified. See Windows Convenience Function Parameters for which values are valid for the mouseButton
argument and for the modifierState
argument.
© 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.