I want to drag and drop the listwidget item inside the gridlayout
Unsolved
General and Desktop
-
You need to subclass a QWidget (QLabel?) and reimplement
dropEvent
(https://doc.qt.io/qt-5/qwidget.html#dropEvent). the link above shows you how to extract row, column and data of the dragged item from the event -
Hi, just as a note
This sample i used for something similar
http://doc.qt.io/qt-5/qtwidgets-draganddrop-puzzle-example.html