QGraphicsView and QGraphicsItem: don´t scale item when scaling the view rect

后端 未结 5 1628
既然无缘
既然无缘 2021-02-04 13:46

I am using Qt´s QGraphicsView - and QGraphicsItem-subclasses. is there a way to not scale the graphical representation of the item in the view when the

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 14:03

    Set the QGraphicItem's flag QGraphicsItem::ItemIgnoresTransformations to true does not work for you?

提交回复
热议问题