[Solved] How to subclass QTableView when using the UI editor of QtCreator
General and Desktop
3
Posts
2
Posters
5.2k
Views
1
Watching
-
Hello folks:
I've a QAbstractTableModel subclass working with a QTableView... so far so good.
Now I would like to implement a "Drag and Drop" capability to my QTableView and here's where the problem arose for me, because I need to subclass QTableView but I've used the UI editor of QtCreator for my design, therefore the UI editor has created the QTableView for me, so right now I don't know what to do to achieve what I need.
Thanks in advance guys.
-
Thanks for your quick, concise and right answer. I did it exactly as you suggested and it works like a charm.
Thanks again Volker.