Results 1 to 3 of 3

Thread: How can i get event when mime data dropped to another app?

  1. #1
    Join Date
    Aug 2009
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How can i get event when mime data dropped to another app?

    Subj)
    i need to know when user releases mouse when dragging files out of item view to extract these files from archive (like in winrar/7zip/ark, etc)

  2. #2
    Join Date
    Aug 2009
    Posts
    23
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How can i get event when mime data dropped to another app?

    any thoughts?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How can i get event when mime data dropped to another app?

    The application where the item is dropped is basically responsible for handling the drop. Knowing that a drag that started in your application was dropped in another application is possible (when QDrag::exec() returns, you can check its return value to see if a drop occured) but it won't tell you WHERE it occured. Try dragging a zipped image and drop it on some graphics application - you will see it won't be able to handle the archive (unless it explicitly knows how to handle zipped archives).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 6th April 2010, 03:53
  2. Question on MIME multipart/form-data
    By dannycxh in forum Qt Programming
    Replies: 0
    Last Post: 2nd March 2010, 08:08
  3. MIME and KDE
    By fullmetalcoder in forum KDE Forum
    Replies: 5
    Last Post: 2nd February 2007, 20:38
  4. Problem of Core Dropped!
    By Stephano in forum General Programming
    Replies: 1
    Last Post: 10th May 2006, 15:59
  5. MIME and .desktop files in KDE
    By nupul in forum KDE Forum
    Replies: 4
    Last Post: 14th April 2006, 16:30

Tags for this Thread

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.