General advice about scaling on QGraphicsView/QGraphicsScene
Posted
by onurozcelik
on Stack Overflow
See other posts from Stack Overflow
or by onurozcelik
Published on 2010-05-24T07:19:02Z
Indexed on
2010/05/24
7:21 UTC
Read the original article
Hit count: 457
Hi, In my project I am using QGraphicsView/QGraphicsScene stuff.
On my scene there will be regions that contains 2D graphics.
Region count will be limited(Lets say 20)
Users can choose to display one or more regions.
If user choose to display one region I am going to show one region on scene
If user choose to display n regions I am going to show n regions on scene
I need a scaling logic to fit n regions on same scene.
How can I achieve this?
© Stack Overflow or respective owner