Best way to completely change screen contents?



  • Hello,

    I'm building a form for mobile desktops, windows tablets, and possibly iOS devices. I'm far into the project and have a working prototype that basically has several .ui designer forms that are built on startup with the program's MainWindow as parent, and show()/hide() when appropriate. This solution seems fine, but I'm wondering if there are better or more conventional ways that provide benefits such as easily scaling contents or better portability to different devices. Thanks for any input!

    Austin


  • Lifetime Qt Champion

    @austinp18
    Hi
    The normal route is to use layouts
    http://doc.qt.io/qt-5/layout.html
    So the form can adjust to different sizes automatically.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.