Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Adding States
Qt 6.11 is out! See what's new in the release blog

Adding States

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 700 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.
  • P Offline
    P Offline
    pungie2000
    wrote on last edited by
    #1

    Sorry if this is a basic question, but how do I add a state to my main.qml file? I've looked and there isn't an option to add one, it only works if I add a new qml file and try. Thanks!

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pungie2000
      wrote on last edited by
      #2

      I actually just realized that for some reason, ApplicationWindow does not have a Add State button. I can easily just create a new qml file with a rectangle and add states... but what if I want to have that same qml file be the file that is shown when the application starts up?

      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