Results 1 to 5 of 5

Thread: Exclude items in QGraphicsItem::collidingItems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2010
    Posts
    15
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Exclude items in QGraphicsItem::collidingItems

    I added the enumeration and reimplemented the type() function, but when I cast it, it still returns a 0 pointer.
    Is it maybe possible to draw the lines on one scene, and everything else on another scene and let the graphicsview show both?

    Attached you'll find my src as a zip

    Thanks
    Alex
    Attached Files Attached Files

Similar Threads

  1. Replies: 7
    Last Post: 21st March 2010, 03:11
  2. Casting QGraphicsItem child from QGraphicsItem
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 29th August 2008, 15:37
  3. Replies: 2
    Last Post: 28th June 2008, 16:31
  4. timerEvent for each QGraphicsItem
    By tts80 in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2007, 09:33
  5. QGraphicsItem problem - how to save items info ??
    By aamer4yu in forum Qt Programming
    Replies: 3
    Last Post: 17th October 2006, 12:17

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.