franco.amato
11th February 2010, 08:07
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
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