The States view displays the different states of a UI.
To open the States view, select View > Views > States.
To collapse or expand the States view, select:
- Select View > Views > Toggle States.
- Press Ctr+Alt+S on Windows or Cmd+Option+S on macOS.
- Right-click the view and select Collapse or Expand.
Initially, States displays a base state that shows the selected component in its initial state. To add states, select Create New State.
For more information, watch the following video:
To open the Actions menu, select . The actions available in the menu depend on the current context. For example, the option for editing an annotation becomes available after you add an annotation.
|Set when Condition||Determines when a state should be applied.||Applying States|
|Reset when Condition||Removes ||Applying States|
|Set as Default||Sets the current state as the startup state of the application.||Setting the Default State|
|Reset Default||Resets the current state as the default state.||Setting the Default State|
|Add Annotation||Opens the Annotation Editor when you can add an annotation for the states that you create.||Annotating Designs|
|Edit Annotation||Opens the Annotation Editor where you can edit the annotation for the state.||Annotating Designs|
|Add Annotation||Removes the annotation for the state.||Annotating Designs|
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.