Qt 6.0
Qt Widgets
Draggable Text Example
Qt 6.0.2 Reference Documentation
Draggable Text Example
Illustrates how to drag and drop text between widgets.
Example project @ code.qt.io