Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Best way to completely change screen contents?
Forum Updated to NodeBB v4.3 + New Features

Best way to completely change screen contents?

Scheduled Pinned Locked Moved Unsolved General and Desktop
screen contentsforms
2 Posts 2 Posters 577 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    austinp18
    wrote on last edited by
    #1

    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

    mrjjM 1 Reply Last reply
    0
    • A austinp18

      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

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved