Important: Please read the Qt Code of Conduct -

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!


  • Lifetime Qt Champion

    The normal route is to use layouts
    So the form can adjust to different sizes automatically.

Log in to reply