lni
20th February 2009, 02:28
Hi,
I have two QGraphicsWidget, one on top of the other, managed by QGraphicsGridLayout. When I do view.scale( 2, 2 ), I would like the top one ( QGraphicsWidget 1 ) to accept both x/y scale, and I want the bottom one (QGraphicsWidget 2) to accept X scale, but ignore Y scale, as shown in the chart.
How can I achieve this?
Thanks
I have two QGraphicsWidget, one on top of the other, managed by QGraphicsGridLayout. When I do view.scale( 2, 2 ), I would like the top one ( QGraphicsWidget 1 ) to accept both x/y scale, and I want the bottom one (QGraphicsWidget 2) to accept X scale, but ignore Y scale, as shown in the chart.
How can I achieve this?
Thanks