How to drag and drop the QLabel text to the QTextEdit? I would like to drag and drop the label with some text, that particular text should appear in the QTextEdit of the another QDialog? Is that possible?
How to drag and drop the QLabel text to the QTextEdit? I would like to drag and drop the label with some text, that particular text should appear in the QTextEdit of the another QDialog? Is that possible?
Yes. Implement drag facilities for your label with proper mime-type and QTextEdit should accept the drop by default (provided drops are enabled in the widget).
yeah.. setTextInteractionFlags did the trick.. It is working fine....![]()
Bookmarks