Results 1 to 2 of 2

Thread: Drag and Drop bug?

  1. #1
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Drag and Drop bug?

    Hi,

    I have a QListWidget and a QTreeWidget inside a QSplitter. selectionMode of QListWidget is ExtendedSelection. Also I have setDragEnabled(true). Apart from this I have setAcceptDrops(true) in QTreeWidget.

    Now, in the QListWidget I select alternate items and drag them to the tree widget and drop. The dragged items are added in the tree widget as top level items with gaps in between them. When I click on the gaps, my application crashes.

    I am using Qt 4.1.3 on winxp

    Can someone please confirm this ?

    Thanks a lot

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Drag and Drop bug?

    What do you mean by "gaps"? Could you possibly post a minimal compilable example which reproduces the problem?
    J-P Nurmi

Similar Threads

  1. Drag & drop with model/view (Qt4)
    By yogeshm02 in forum Qt Programming
    Replies: 16
    Last Post: 19th September 2011, 20:36
  2. Replies: 7
    Last Post: 8th September 2006, 16:19
  3. Drag and drop outside the application
    By jpn in forum Newbie
    Replies: 7
    Last Post: 27th August 2006, 15:37
  4. Drag and drop revisited
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 30th June 2006, 16:41
  5. Drag 'n Drop problem
    By kiker99 in forum Qt Programming
    Replies: 4
    Last Post: 16th January 2006, 16:35

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.