dragAndDrop

dragAndDrop(source_­object­Or­Name, sx, sy, target_­object­Or­Name, tx, ty, operation)

dragAndDrop(source_­object­Or­Name, target_­object­Or­Name, operation)

Thiese functions perform a drag and drop operation. They begin by initiating a drag on the source_objectOrName widget starting at position sx and sy (in the source_objectOrName widget's coordinates), and then they do a drop on the target_objectOrName widget at position tx and ty (in the target_objectOrName widget's coordinates). If sx, sy and tx, ty are omitted, then the respectively center of the object is taken. The operation is one of DnD.DropNone, DnD.DropCopy, DnD.DropMove, DnD.DropLink, DnD.DropMoveTarget, or DnD.DropDefault.

© 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.

Search Results