Important: Please read the Qt Code of Conduct -

Question about drag and drop and QListWidget

  • Hello !

    I've got two QListWidgets and I would like to drag from one and to drop into the other and keep getting the indicator displayed during
    the move in and between the QListWidgets, but I keep failing... I tried lots of DragAndDropMode configurations and I tried some weird stuff but nothing seems to work : I only get the indicator inside the first QListWidget and nothing between and in the other QListWidget...
    Do you know if it exists a simple way to fix/do that ?

    Thanks a lot !

  • Hi,

    As I understand it, each widget handles the cursor as the mouse moves over the widget. Therefore, you'd have to make sure each widget checks the mode you're in and change the displayed 'indicator' as you want it.

    Hope that helps ;O)

Log in to reply