PDA

View Full Version : Resize handles for QGraphicsIem?



miivers
16th October 2017, 22:19
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.

12614

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.

Santosh Reddy
17th October 2017, 05:54
No Qt does not have it. It provides selection rectangle only. You will have to implement a custom QGraphicsItem for it.