Results 1 to 2 of 2

Thread: Resize handles for QGraphicsIem?

  1. #1
    Join Date
    Aug 2010
    Qt products

    Question Resize handles for QGraphicsIem?

    I am looking trough the qt documentation for something in order to enable resizing of a QGraphicsItem at runtime. To be more specific I want standard scale handlers. Here is a screenshot in case I am not clear of what I want.


    It seems like there are a lot of people creating there custom code in order to achieve this. I would like to ask if Qt has something like this by default for QGraficsItem in case I missed it.

  2. #2
    Join Date
    Mar 2011
    Hyderabad, India
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    MacOS X Unix/X11 Windows
    Wiki edits

    Default Re: Resize handles for QGraphicsIem?

    No Qt does not have it. It provides selection rectangle only. You will have to implement a custom QGraphicsItem for it.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Does Qt have slider with 2 handles
    By ainne810329 in forum Qt Programming
    Replies: 2
    Last Post: 6th February 2013, 12:46
  2. Passing handles to widgets
    By GDI in forum Qt Programming
    Replies: 5
    Last Post: 7th December 2011, 21:07
  3. Handles For QGraphicsItem
    By manti_madhu in forum Qt Programming
    Replies: 1
    Last Post: 1st September 2009, 11:49
  4. Segmentation fault while passing IO/file handles
    By xfurrier in forum Qt Programming
    Replies: 2
    Last Post: 19th August 2009, 10:32
  5. QGraphicsEllipseItem with Handles
    By stevel in forum Qt Programming
    Replies: 2
    Last Post: 17th April 2008, 01:00

Tags for this Thread


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.