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