Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Good way to completely change a page through options
Forum Update on Monday, May 27th 2025

Good way to completely change a page through options

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 126 Views
  • 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.
  • P Offline
    P Offline
    Pantoufle
    wrote on last edited by
    #1

    Hello,

    I have a product that have a Homepage.qml file which represent the Home page of the product. It happens that this product have an other mode which completely change the Homepage representation.

    To swap from one mode to another u have to go in some setting pages (which is described in another QML).

    What is the right way to change this Homepage representation? Currently the only way I see is using a var that tell me in which mode I am and to use if statement to what i have to load in QML.

    Is there a better way to do it?

    Thanks and have a nice day

    1 Reply Last reply
    0

    • Login

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