PDA

View Full Version : Using Drag and Drop to Set an QWidget into an QTableview



mateyo
6th October 2011, 08:31
Hello,
i am trying desperatly to Drag an QTreeItem (Text) into an QTableView and if dropped it should show an QWidget (QFrame) in the dragged field.
If i just drag and drop QStrings, its just fine, but i cant get an QWidget to show up in the destinated field of the table view.

I already studied the official tutorials (puzzle with an pixmap instead of an table) and some basic tutorials using drag and drop, but every tutorial is just using QStrings.

Does someone got any hints or maybe some kind of example or tutorial for something similar like that?

greets
mateyo

wysota
7th October 2011, 00:33
Hard to help you without seeing any of your code. How do you handle the drop?