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. Screen Management

Screen Management

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 851 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.
  • Z Offline
    Z Offline
    Zanis
    wrote on last edited by
    #1

    Hello everyone,

    I would like to know what can I do to have a screen management for my desktop application in QML.

    In Qt "classic", I used the QStackedWidget to store different screen and a singleton ScreenManager to show/hide them when I had to. I think that my screens in Qt "classic" are now some QML files. I imagine something like this :

    • introScreen.qml
    • mainMenuScreen.qml
    • mainAppScreen.qml
    • etc...

    For now, when I start my application, a "main.qml" file is loaded and his content is displayed. I would like to know :

    • how to switch between the different "qml screen" in C++
    • if I can access to qml object of a particular screen, even if it's not displayed
    • how can I know which screen is currently displayed

    I hope I've been clear with my explanations and that someone has an example of such structure for a desktop application :)

    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