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!
http://qt-project.org/doc/qt-4.8/qabstractitemview.html#dragDropMode-prop HTH, René _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest