[Interest] Re-ordering items in QListWidget by drag-and-drop

R. Reucher rene.reucher at batcom-it.net
Mon Oct 1 15:54:30 CEST 2012

On Monday 01 October 2012 15:38:46 Stephen Chu wrote:
> I am showing a list of item in a QListWidget and would like to allow
> user to reorder them by drag-and-drop.
> I set the movement to free but it doesn't really do anything. I can't
> even select any of the items. The selection mode is set to SingleSelection.
> What else should I set so I can reorder items? Or does QListWidget not
> support it?
You have set the dragDropMode property to InterMove!


HTH, René

More information about the Interest mailing list