Applying States in Flows
You can use states in flows to modify the appearance of components in flow items in response to user interaction, for example. For this purpose, you use the Flow Item components available in Library > Components > Flow View.
- Select File > New File or Project > Files and Classes > Qt Quick Files > Flow Item to create a flow item.
- In States, add states to the flow item.
- Open the .ui.qml file that contains the flow view in Form Editor and drag the flow item to the flow view in Navigator or Form Editor.
- Drag an empty Flow Item component from Library > Components > Flow View to the flow for each state that you added.
- In Properties, in the State change target field, select the flow item that you created using the wizard.
- In the Target state field, select the state to apply to the flow item.
Available under certain Qt licenses.
Find out more.