Results 1 to 5 of 5

Thread: how to support pinch/unpinch zoom features in Qt application

  1. #1
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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.

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to support pinch/unpinch zoom features in Qt application

    Quote Originally Posted by h123 View Post
    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 ?

  3. #3
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to support pinch/unpinch zoom features in Qt application

    "Behind every great fortune lies a crime" - Balzac

  4. #4
    Join Date
    Aug 2008
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default 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.

  5. #5
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default 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().

Similar Threads

  1. Qt 4.4.3 commercial on Kubuntu 8.10
    By Micawber in forum Installation and Deployment
    Replies: 5
    Last Post: 17th February 2010, 01:02
  2. Qt/X11 source-distro apps corrupting KDE Desktop background
    By wdezell in forum Installation and Deployment
    Replies: 5
    Last Post: 23rd July 2009, 21:10
  3. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35
  4. Replies: 0
    Last Post: 18th February 2008, 10:53

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.