dragAndDrop
dragAndDrop(source_objectOrName, sx, sy, target_objectOrName, tx, ty, action)
This function performs a drag and drop operation. It begins by initiating a drag on the source_objectOrName
widget starting at position sx
and sy
(in the source_objectOrName
widget's coordinates), and then it does the drop on the target_objectOrName
widget at position tx
and ty
(in the target_objectOrName
widget's coordinates). The action
is an integer (enum) which can be either Qt::CopyAction
or Qt::LinkAction
.
© 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.