[Qt-interest] Fit the Geometry on the screen
Christopher Rasch-Olsen Raa
christopher at technophile.info
Tue Jun 23 09:33:50 CEST 2009
On Tuesday 23 June 2009 09:36:28 Sujan Dasmahapatra wrote:
> Sean I am performing translation,rotation and scaling on the
> graphicsitem, so for some high value in translation the graphicsitem
> moves out of screen.how can I get it back to to screen and fit on the
> view properly.??
Get the position of the item (in the scene) and then centerOn it perhaps? Have
a look at the docs. They are usually very helpful.
> Kind Regards,
> Sujan Dasmahapatra
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com
> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Sean Harmer
> Sent: Tuesday, June 23, 2009 1:01 PM
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] Fit the Geometry on the screen
>
> On Tuesday 23 Jun 2009 08:22:53 Sujan Dasmahapatra wrote:
> > Dear Friend Srdjan and Eckard can you give me some lights how would I
> > implement for fitting the geometry on the screen.After doing some
> > operation it's getting out of screen...How can i implement for
>
> fitting
>
> > the geometry on the screen again ?? please help me.....
>
> Once again, please stop asking the same question many times with no
> extra
> information. Try posting a small compilable example that reproduces your
>
> problem.
>
> We do not know what operations you are performing so how can we possibly
> hope
> to understand your problem and come up with a solution?
>
> You must help us to help you. It is no good just repeating yourself.
>
> Sean
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Christopher
More information about the Qt-interest-old
mailing list