Results 1 to 3 of 3

Thread: Derived QListWidget Drag&Drop problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Derived QListWidget Drag&Drop problem

    Neither your dragEnterEvent() nor your dropEvent() calls acceptProposedActin() on the event.
    See Dropping here: http://doc.qt.io/qt-5.4/dnd.html
    There is more item view drag and drop information here: http://doc.qt.io/qt-5.4/model-view-p...ith-item-views

  2. #2
    Join Date
    Jun 2015
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Derived QListWidget Drag&Drop problem

    The event->acceptProposedAction() thing makes it work ;-) thanks

Similar Threads

  1. Replies: 2
    Last Post: 30th January 2014, 07:46
  2. to use drag & drop on QListWidget
    By giorgik in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2012, 19:00
  3. Drag and drop between QListWidget's
    By estanisgeyer in forum Qt Programming
    Replies: 4
    Last Post: 17th February 2011, 05:29
  4. Replies: 3
    Last Post: 10th June 2010, 16:13
  5. QListWidget Drag and Drop problem
    By winkle99 in forum Qt Programming
    Replies: 0
    Last Post: 20th October 2009, 21:00

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.