Results 1 to 5 of 5

Thread: Drag and Drop between 2 QListWidgets

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Location
    South Africa
    Posts
    94
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Drag and Drop between 2 QListWidgets

    If I understand, the property "acceptDrops" would determine if items can be dropped onto the QListWidget.
    However, on both of the QListWidgets, I have this unchecked, yet can still move items between the two (Windows 7). However, when I move this application to Windows XP, it doesn't allow drops, even if I change both QListWidgets to acceptDrops.
    Can someone shed some light on this?

  2. #2
    Join Date
    Oct 2009
    Location
    South Africa
    Posts
    94
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Drag and Drop between 2 QListWidgets

    On Windows 7, if I have the right QListWidget dragDropMode set to DragOnly, I can drop to it and drag from it, but not on XP. For this to work on XP, it must be set to DragDrop, which makes sense. It would seem that Windows 7 is letting this slip?

Similar Threads

  1. two qlistwidgets
    By msmihai in forum Newbie
    Replies: 1
    Last Post: 8th January 2009, 15:00
  2. Drag Drop Help pls
    By munna in forum Qt Programming
    Replies: 7
    Last Post: 4th September 2006, 12:11
  3. drag and drop
    By vijay anandh in forum Qt Programming
    Replies: 1
    Last Post: 26th April 2006, 11:46
  4. drag and drop
    By vijay anandh in forum Qt Programming
    Replies: 1
    Last Post: 12th April 2006, 11:54
  5. drag and drop
    By vijay anandh in forum Qt Programming
    Replies: 1
    Last Post: 11th April 2006, 11:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.