Results 1 to 2 of 2

Thread: Resizing screen dimensions using backbuffer in QT?

  1. #1
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Thanks
    14
    Thanked 41 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Resizing screen dimensions using backbuffer in QT?

    Another question. I hope I don't wear out my welcome here with these questions, but you guys have been so helpful...

    Our software needs to be able to scale in screen resolutions and still have precise layouts. My boss suggested we may be able to design for a certain resolution and stretch the image using the backbuffer to whatever resolution, in order to preserve the exact layout we need, although at a cost of image quality. I'm aware that the Qt layouts are made to scale dynamically, but its just not cutting it.

    So is this even possible using QT and if so, how would it be done?

    Thanks for any direction you can give...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Resizing screen dimensions using backbuffer in QT?

    I really wouldn't do that if I were you (I mean the scaling thing). You might implement your whole application within the Graphics View framework and get the scaling practically for free but it's a lot of work if you want to use widgets. I don't know how exact layout you need, but Qt should be able to do what you require provided you tell it exactly what to do. Things like size policies and size hints are your friends.

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.