Results 1 to 3 of 3

Thread: QGraphicsWidget shape only works down right from center

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,321
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QGraphicsWidget shape only works down right from center

    Move your ellipse up and to the left by 50 each:

    Qt Code:
    1. path.addEllipse( QRectF( 0, 0, 100, 100 ) );
    To copy to clipboard, switch view to plain text mode 
    Last edited by d_stranz; 7th February 2013 at 22:11.

Similar Threads

  1. Replies: 3
    Last Post: 6th July 2011, 06:59
  2. Qml in QGraphicsWidget
    By animagani in forum Qt Quick
    Replies: 7
    Last Post: 2nd December 2010, 16:20
  3. QGraphicsWidget and ItemIsMovable()
    By paolom in forum Qt Programming
    Replies: 8
    Last Post: 20th October 2009, 13:25
  4. QTextEdit on a QGraphicsWidget
    By paolom in forum Qt Programming
    Replies: 2
    Last Post: 7th October 2009, 14:08
  5. QGraphicsWidget - How does it work?
    By been_1990 in forum Qt Programming
    Replies: 2
    Last Post: 31st July 2009, 13:15

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.