Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Question about drag and drop and QListWidget

Question about drag and drop and QListWidget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alefburzmali
    wrote on last edited by
    #1

    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 !

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Mr-Merlin
      wrote on last edited by
      #2

      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)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved