Results 1 to 2 of 2

Thread: QAbstractItemView::InternalMove

  1. #1
    Join Date
    Apr 2008
    Posts
    39
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QAbstractItemView::InternalMove

    Hi!

    Which (protected) function do I have to overload to catch the internal move operation in a QListWidget? I want to do something directly after the move operation...

    What not works:

    • virtual void dropEvent ( QDropEvent * event )
    • virtual bool dropMimeData ( int index, const QMimeData * data, Qt::DropAction action )


    These functions seem not to be called.

    Bye

  2. #2
    Join Date
    Apr 2008
    Posts
    39
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QAbstractItemView::InternalMove

    Uh-Oh. It was my fault. "dropEvent" works just fine for me.

    Bye

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.