Important: Please read the Qt Code of Conduct -

QListWidget: Drag & Drop event duplication

  • Hi there,

    I have two QListWidgets that are enabled for single item select to drag and drop.

    What I'm trying to achieve is when the user grabs an item in one list and moves it to a new row in the QListWidget, that the corresponding item on the same row in the second QListWidget is reordered in a similar manner.

    i.e. item in row 2 on ListWidget1 (LW1) is moved to row 10, causes item in row 2 or LW2 to move to row 10 and vice versa

    I can't seem to see any in place signals to achieve this.

    Any help would be gratefully accepted.


Log in to reply