I have gridlayout with four cells (0,0),(0,1),(1,0),(1,1). Every cell is vertical layout with scrollbar. Initially only (0,0) cell contains QLineEdit in it. I want to drag and drop them in anyone of the cell. How can I do it. I want layout like below image.
enter image description here
I have tried this Drag and Drop QLabels with PyQt5 code but it is not working.
I want to drag elements from (0,0) cell and drop anyone of the cell such that it will remove from cell (0,0) and add in layout of cell where it dropped . every cell contains scrollbar because there can be many number of elements in each cell.