Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QListWidget: how to get exact dragged and dropped item and positions
Kanishka last edited by Kanishka
I have a single QListWidget in which I can drag and drop QListWidgetItems inside it(To change the order). I have extended the QListWidget and overridden the dropEvent.
Is it possible to identify the exact item that was moved during the drag and drop event with the position change it had?
Thanks in advance.
Hi and welcome to devnet,
You might be able to get the information you want using selectedIndexes.
Hope it helps