Results 1 to 3 of 3

Thread: Do not move QGraphicsItem after scaling

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Do not move QGraphicsItem after scaling

    Very likely an issue with the transformation anchor.

    When you scale manually you are probably scaling from the center of the item, not from the top left.

    Cheers,
    _

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

    nilot (28th September 2016)

Similar Threads

  1. QGraphicsItem move only on certain condition
    By pratham_shah in forum Qt Programming
    Replies: 3
    Last Post: 29th April 2013, 09:54
  2. QGraphicsItem move
    By Ichi in forum Qt Programming
    Replies: 1
    Last Post: 19th April 2013, 19:48
  3. Replies: 2
    Last Post: 25th March 2011, 09:18
  4. QGraphicsItem scaling behaviour?
    By kachofool in forum Qt Programming
    Replies: 2
    Last Post: 1st January 2011, 18:17
  5. Scale size of QGraphicsItem without scaling pen width
    By Lodorot in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2009, 00:18

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.