QGraphicsItem independent of scene transformation
Hi,
Can any one help me of painting a QGraphicsItem which should not change when the QGraphicsScene changes its rect() ..
ex:
i want to increace the size of the QGraphicsScene rect ... but one particular QGraphicsItem (currently i customize it ..) should not change ..
cna any one please help me ..
Thanks in advance ..... !!
Re: QGraphicsItem independent of scene transformation
What do you mean that it should not change? How does it change?
Re: QGraphicsItem independent of scene transformation
thanks wysota ...
actually i want to ignore the transformation of item in scene ...
i used ignore transformation flag in the graphicsItem...
Added after 5 minutes:
and im having the problem that .. if i try to rotate my graphicsItem ... it is shifting a little in y() also ...
Ex:
i tried to rotate a graphicsItem like a pendulum ...
i tried
item->setRotation(10);
but when it rotates it add its y() coordinates .. it is not rotating in constant axis ....
i need some suggestion ...
please help me ..
Thanks in advance ..
Re: QGraphicsItem independent of scene transformation
Re: QGraphicsItem independent of scene transformation
Thanks Lykurg ... this i want ... i will give u the result soon ....