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
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
On 10/1/12 9:55 AM, R. Reucher wrote:
On Monday 01 October 2012 15:54:30 R. Reucher wrote:
What else should I set so I can reorder items? Or does QListWidget not
support it?
You have set the dragDropMode property to InterMove!
Correction: the property's value is 'InternalMove'.
That doesn't
Sent: Tuesday, 2 October 2012 12:12 AM
On 10/1/12 9:55 AM, R. Reucher wrote:
On Monday 01 October 2012 15:54:30 R. Reucher wrote:
What else should I set so I can reorder items? Or does QListWidget
not support it?
You have set the dragDropMode property to InterMove!
Correction: the
On 10/1/12 10:55 AM, Tony Rietwyk wrote:
Sent: Tuesday, 2 October 2012 12:12 AM
On 10/1/12 9:55 AM, R. Reucher wrote:
On Monday 01 October 2012 15:54:30 R. Reucher wrote:
What else should I set so I can reorder items? Or does QListWidget
not support it?
You have set the dragDropMode