how to support pinch/unpinch zoom features in Qt application
Hi,
I want to support pinch/unpinch zoom support in one of my application.
Can you please let me know whether Qt provides any support for this or
any plan to support this ? Currently, if Qt is not supporting then
what are the alternatives ?
Thank you.
Re: how to support pinch/unpinch zoom features in Qt application
Quote:
Originally Posted by
h123
Hi,
I want to support pinch/unpinch zoom support in one of my application.
Thank you.
What kind of zoom you are talking about ?
Image zoom ?
Re: how to support pinch/unpinch zoom features in Qt application
Re: how to support pinch/unpinch zoom features in Qt application
Hi yogeshgokul,
> What kind of zoom you are talking about ? Image zoom ?
Yes image zoom.
I am using QGLWidget, and want to provide facility to zoom-in/zoom-out.
Please share ur ideas how it can be done.
Thank you.
Re: how to support pinch/unpinch zoom features in Qt application
For zooming image on a GL. You have 2 options.
1. You can use GL native functions.
2. Use QImage::scaled(), QPixmap::scaled().