Results 1 to 2 of 2

Thread: Resizable & rotatable GraphicsItem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Location
    Bangalore
    Posts
    26
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Resizable & rotatable GraphicsItem

    I am trying to do an application in which I want to achieve the functionality of rotating and resizing the Graphics Item which is basically a Rectangle drawn using paint.

    I have used following code to achieve this functionality.
    This code is not working correctly when I rotate it and then resize it and then again try to rotate then the centre point will be jumped to another point.

    Find my test code attached herewith.

    Can anyone tell me what is going wrong in my above code and what I should change to make my custom graphics item resizeable & rotatable.
    Attached Files Attached Files
    Make everything Simple yet Powerful

Similar Threads

  1. Replies: 0
    Last Post: 5th June 2013, 19:32
  2. need advice for GraphicsItem
    By alizadeh91 in forum Qt Programming
    Replies: 2
    Last Post: 8th March 2012, 18:25
  3. GraphicsItem is flickering
    By anafor2004 in forum Qt Programming
    Replies: 3
    Last Post: 30th September 2009, 11:44
  4. GraphicsItem Question
    By cwnelatury in forum Qt Programming
    Replies: 8
    Last Post: 14th May 2009, 20:11
  5. Best way for a graphicsitem to delete itself
    By pherthyl in forum Qt Programming
    Replies: 7
    Last Post: 22nd June 2008, 05:57

Tags for this Thread

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.