Results 1 to 2 of 2

Thread: Zooming

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    24
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Zooming

    Hi all,

    I'm just taking a look at the Image Viewer example. I'm currently modifying it and have a good understanding of it all. One problem though, I wish to modify it so that when you zoom the image, it stays contained within a boundary. I tried using

    "scrollArea->setFixedSize(200,200);"

    but it doesn't work. Any ideas?

  2. #2
    Join Date
    Sep 2008
    Posts
    24
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Zooming

    Ah kicking myself, have it figured out now!

Similar Threads

  1. Scaling and zooming with logarithmic scales
    By Benoît Hubert in forum Qwt
    Replies: 1
    Last Post: 11th September 2008, 09:17
  2. Zooming on PushButton Press event
    By KosyakOFF in forum Qwt
    Replies: 5
    Last Post: 11th April 2008, 09:12
  3. Zooming scene Rect(Qt bug?)
    By maverick_pol in forum Qt Programming
    Replies: 31
    Last Post: 30th August 2007, 09:31
  4. Replies: 3
    Last Post: 11th March 2007, 13:04
  5. Zooming QCanvas: QCanvasLine problem
    By Pieter from Belgium in forum Qt Programming
    Replies: 1
    Last Post: 4th October 2006, 16:58

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
  •  
Qt is a trademark of The Qt Company.