Results 1 to 11 of 11

Thread: Diagram Scene Example - two overlapping ellipses

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #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: Diagram Scene Example - two overlapping ellipses

    Either compose your item from two ellipse items (so that you have a QGraphicsItem with two children) or implement a custom item type (a descendant of QGraphicsShapeItem) where you will draw the custom shape using QPainter.
    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.


  2. The following user says thank you to wysota for this useful post:

    dougluna (20th April 2017)

Similar Threads

  1. Re-engineering the Diagram Scene Example - Issues
    By sajis997 in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2012, 10:38
  2. diagram scene example - intersection test
    By sajis997 in forum Newbie
    Replies: 12
    Last Post: 14th September 2011, 17:48
  3. mouse selection of overlapping ellipses
    By imagyne in forum Qt Programming
    Replies: 1
    Last Post: 21st July 2011, 08:59
  4. drawing series of rotated ellipses
    By qtn00b in forum Newbie
    Replies: 1
    Last Post: 17th December 2009, 01:51
  5. Extending the Diagram Scene Example
    By dosto.walla in forum Newbie
    Replies: 1
    Last Post: 7th October 2008, 18:02

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.