statusbar

Richard Moore rich at ipso-facto.freeserve.co.uk
Mon Apr 9 22:01:11 UTC 2001



Oh Jin Suk wrote:
> 
> Hi,
> 
> I write proram with kdevelop 1.4
> and a newbie
> 
> I'd like to know
> first, After loading an image I want to print mouse's position to
> statusbar
> mouseMoveEvent is in View class, initStatusBar is in App class,
> How can i connect mouseMoveEvent to statusbar

Reimplement the event handler in your view to set the status entry.

> 
> second,
> I'd like implement zooming in and out image with scrollbar in View class
> can i find some code source for zooming?

You can use the smoothScale() method of QImage.

Rich.

> 
> thanks.
> 
> -
> to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list