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