[Qt-interest] I want to Zoom in and Zoom out QDesktopWidget
Sai Chandra
Sai.Chandra at lntinfotech.com
Mon May 18 06:59:25 CEST 2009
hi all,
Here goes my code..
QDesktopWidget *screen = QApplication::desktop();
QRect appRect = screen->availableGeometry(screen->primaryScreen());
Now I have my image on appRect. Now I am declaring some thing like this..
QRect drawRect;
QImage image;
QPainter painter(&image);
Now I must zoom the image on drawRect and paint back the zoomed image on
painter.
May I have any suggestions on how to increase the geometry of the image so
that is appears as a zoomed image...
Thank You
Regards,
Sai Chandra G.V,
PES,
L&T Infotech Ltd,
Plot No 25-31,EPIP Phase II,
KIADB Industrial Area,Whitefield,
BANGALORE-66,INDIA
Mobile:+91 9900200782
Office: 080-66241296
Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com
This Document is classified as:
L&T Infotech Proprietary L&T Infotech Confidential L&T Infotech
Internal Use Only L&T Infotech General Business
This Email may contain confidential or privileged information for the
intended recipient (s) If you are not the intended recipient, please do
not use or disseminate the information, notify the sender and delete it
from your system.
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090518/8f3eae3e/attachment.html
More information about the Qt-interest-old
mailing list