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