Nathan Weston | 2 Jun 2011 15:05
Favicon

Drag-and-drop editing in QListWidget or QListView

I have a QListWidget with dragDropMode set to InternalMove, and I can 
move rows around by dragging as expected. But I also want to know when 
items are moved so I can update other data in my application, and I 
can't find any way to do this.

Would it help if I switched to QListView and implemented a model? I 
looked into this a bit but couldn't figure out how to do what I want.

Thanks,
- Nathan

Gmane