Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
How to get a selected item from QListView delegated?
dzungng last edited by
i'm new to Qt. I have an empty table and a list of widgets (for example: a pushbutton, a radiobutton...). What I have to do is to select a widget from the list and insert it to a cell of the table.
I'm thinking about drag and drop. So I want to get the selected item delegate and then use that delegate to insert the widget to the table's cell.
Unfortunately i dont know how to do that. Can anybody help?
Thank you guys a lot.
That's not responsibility of the delegate. Use a custom mime type to provide the information needed and do the insertion at the drop point.