Results 1 to 8 of 8

Thread: How to catch items dropped out of scenes?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2011
    Posts
    31
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: How to catch items dropped out of scenes?

    Otside the app QWidget* would be 0 with QPointF representing absolute screen position. This would be enough and easy to use.

  2. #2
    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 to catch items dropped out of scenes?

    Maybe in your particular case yes but I don't see what benefit it would bring to know the screen coordinates of the drop. Especially if more than one application window occupies the same screen spot. Basically it is the target application that handles the drop, the source should only know whether the semantics is to let go of the resource or not.
    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. Multiple QGrphicsViews and scenes cause app to freeze.
    By justin123 in forum Qt Programming
    Replies: 2
    Last Post: 9th January 2012, 23:38
  2. Trying to use single pixmap in two Scenes.
    By spawn9997 in forum Qt Programming
    Replies: 1
    Last Post: 5th August 2009, 21:23
  3. QLayout on scenes
    By baray98 in forum Qt Programming
    Replies: 2
    Last Post: 18th November 2008, 17:22
  4. Catch drag and drop items
    By nina1983 in forum Qt Programming
    Replies: 1
    Last Post: 23rd July 2008, 17:24
  5. adding QGraphicsItem to multiple scenes
    By forrestfsu in forum Qt Programming
    Replies: 7
    Last Post: 6th November 2006, 14:25

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.