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. QListWidget: Drag & Drop event duplication
Forum Updated to NodeBB v4.3 + New Features

QListWidget: Drag & Drop event duplication

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • C Offline
    C Offline
    cnbp173
    wrote on last edited by
    #1

    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.

    R

    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