-
QPlainText
Hi I'm trying to implement a drag and drop from a QPlainText in a QDialog and a QWidget in a QMainWindow.
I woud set as MimeData the text under the mouse.
In my case the QDialog is a Track list and every row is the name of a audio track.
I would drag a line but for that I woud get the text that's part of a singular line.
How can I do it?
Best Regards,
Franco
-
Re: QPlainText
I think that QListView would be much more suitable to view track list and implement drag and drop. And you have documented example: Drag and Drop -> Puzzle.