Hi all,
i have QListWidget with items.currently i have implemented drag&drop of with in widget.it is working fine.but what i want is when i do drag&drop the one item to another place within widget the listwidget is not rearraging its items.
can any one help me out of this..
below code i have written for drag drop of QListWidget..

listWidget->setSelectionMode(QAbstractItemView::SingleSelection);
listWidget->setDragEnabled(true);
listWidget->viewport()->setAcceptDrops(true);
listWidget->setDropIndicatorShown(true);
listWidget->setDragDropMode(QAbstractItemView::InternalMove);

regards,
venkat