Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Drag and Drop between QListWidget and QGridLayout C++
-
Hi there,
I have a problem with drag and drop. I want to drop items from the GUI(QListWidget) in a QGridLayout.So far it works to drag the items from the QListWidget. But I can´t drop it in the QGridLayout because there is no drop option for this element.
Does anybody know how a way that I can drop the items in the QGridLayout?
-
Hi and welcome to devnet,
You have to implement the drop part on the widget where the QGridLayout is applied
-
@SGaist
Thank you for the answer, but how I can make it. I not really found something for that. Could you maybe help me a bit?
-
It's described here