Results 1 to 1 of 1

Thread: Signal on not accepted Drops / MouseReleaseEvent during Drag?

  1. #1
    Join Date
    Aug 2015
    Posts
    25
    Thanks
    3
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default <Solved> Signal on not accepted Drops / MouseReleaseEvent during Drag?

    Hi,

    is there any Signal emitted if a Drop isn't accepted?
    I Put a qDebug in both mouseReleaseEvent and dropEvent but without any luck.
    The drop is only received if accepted, and it looks like mouseReleaseEvents are ignored during a drag operation.

    Hi,

    is there any Signal emitted if a Drop isn't accepted?
    I Put a qDebug in both mouseReleaseEvent and dropEvent but without any luck.
    The drop is only received if accepted, and it looks like mouseReleaseEvents are ignored during a drag operation.


    Added after 39 minutes:


    Apparently a dragLeaveEvent is emitted.
    So it's all good now....
    Last edited by 0backbone0; 29th August 2015 at 10:38.

Similar Threads

  1. Replies: 7
    Last Post: 20th March 2014, 07:43
  2. Qt::Accepted in Qt 5.0
    By Higgs in forum Newbie
    Replies: 2
    Last Post: 14th February 2014, 16:41
  3. accepted() alternative
    By hojoff79 in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2011, 02:19
  4. Drag & Drop when parent and childs accept drops?
    By gri in forum Qt Programming
    Replies: 0
    Last Post: 17th October 2008, 09:00
  5. Strange behavior with Drag and Drop (not always drops)
    By Mona Shokrof in forum Qt Programming
    Replies: 1
    Last Post: 27th May 2007, 18: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.