Doc: Update Simulating Conditions
Fixes: QDS-11505 Change-Id: I91e793529d0d447ae82e02aedc6c32565f243df0 Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io>
Before Width: | Height: | Size: 12 KiB |
BIN
doc/qtdesignstudio/images/studio-flow-decision-preview.webp
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 12 KiB |
BIN
doc/qtdesignstudio/images/studio-flow-decision-properties.webp
Normal file
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 36 KiB |
BIN
doc/qtdesignstudio/images/studio-flow-decision.webp
Normal file
After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 12 KiB |
@@ -530,17 +530,17 @@
|
|||||||
controls, backend, or sensor data that will be required for the production
|
controls, backend, or sensor data that will be required for the production
|
||||||
version.
|
version.
|
||||||
|
|
||||||
\image studio-flow-decision.png "Flow Decision in the 2D view"
|
\image studio-flow-decision.webp "Flow Decision in the 2D view"
|
||||||
|
|
||||||
To simulate conditions:
|
To simulate conditions:
|
||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Drag a \uicontrol {Flow Decision} component from
|
\li Drag a \uicontrol {Flow Decision} component from
|
||||||
\uicontrol Components \uicontrol {Flow View} to a
|
\uicontrol Components > \uicontrol {Flow View} to a
|
||||||
\l{Adding Flow Views}{flow view} in the \l Navigator or \l {2D} view.
|
\l{Adding Flow Views}{flow view} in the \l Navigator or \l {2D} view.
|
||||||
\li Select the flow item where you want the application to start in
|
\li Select the flow item where you want the application to start in
|
||||||
the \uicontrol Navigator or \uicontrol {2D} view, and then select
|
the \uicontrol Navigator or \uicontrol {2D} view. Then right-click the component
|
||||||
\uicontrol {Flow} > \uicontrol {Set Flow Start} in the context menu.
|
to open the context menu, and select \uicontrol Flow > \uicontrol {Set Flow Start}.
|
||||||
\li Create an \l{Adding Action Areas and Transitions}{action area} for
|
\li Create an \l{Adding Action Areas and Transitions}{action area} for
|
||||||
the component that will trigger the condition and connect it to the
|
the component that will trigger the condition and connect it to the
|
||||||
flow decision.
|
flow decision.
|
||||||
@@ -551,10 +551,10 @@
|
|||||||
title for the selection dialog that opens when the condition is
|
title for the selection dialog that opens when the condition is
|
||||||
triggered.
|
triggered.
|
||||||
\li Select a transition line in the \uicontrol Navigator or
|
\li Select a transition line in the \uicontrol Navigator or
|
||||||
\uicontrol {2D} view and add a descriptive text in the
|
\uicontrol {2D} view, and add a descriptive text in the
|
||||||
\uicontrol {Question} field in \uicontrol Properties to represent
|
\uicontrol {Question} field in \uicontrol Properties to represent
|
||||||
a choice in the selection dialog.
|
a choice in the selection dialog.
|
||||||
\image studio-flow-transition-properties-question.png "Flow Transition properties"
|
\image studio-flow-transition-properties-question.webp "Flow Transition properties"
|
||||||
\li Press \key {Alt+P} to preview the UI.
|
\li Press \key {Alt+P} to preview the UI.
|
||||||
\li Select action areas in the preview, double-click events in the
|
\li Select action areas in the preview, double-click events in the
|
||||||
event list, or use the keyboard shortcuts to trigger events.
|
event list, or use the keyboard shortcuts to trigger events.
|
||||||
@@ -563,21 +563,21 @@
|
|||||||
Flow decisions are listed in a dialog where you can select which condition
|
Flow decisions are listed in a dialog where you can select which condition
|
||||||
is met to see the results.
|
is met to see the results.
|
||||||
|
|
||||||
\image studio-flow-decision-preview.png "Selection dialog for flow decision"
|
\image studio-flow-decision-preview.webp "Selection dialog for flow decision"
|
||||||
|
|
||||||
\section1 Flow Decision Properties
|
\section1 Flow Decision Properties
|
||||||
|
|
||||||
You can specify basic properties for a \uicontrol {Flow Decision} component
|
Specify basic properties for a \uicontrol {Flow Decision} component
|
||||||
in the \l Type and \l ID fields in the \uicontrol Component section in the
|
in the \l Type and \l ID fields in the \uicontrol Component section in the
|
||||||
\uicontrol Properties view. Specify properties for flow decisions in the
|
\uicontrol Properties view. Specify properties for flow decisions in the
|
||||||
\uicontrol {Flow Decision} section.
|
\uicontrol {Flow Decision} section.
|
||||||
|
|
||||||
\image studio-flow-decision-properties.png "Flow Decision properties"
|
\image studio-flow-decision-properties.webp "Flow Decision properties"
|
||||||
|
|
||||||
In the \uicontrol {Dialog title} field, enter a title for the selection
|
In the \uicontrol {Dialog title} field, enter a title for the selection
|
||||||
dialog that opens when the condition is triggered.
|
dialog that opens when the condition is triggered.
|
||||||
|
|
||||||
You can specify the following properties to change the appearance of the
|
Specify the following properties to change the appearance of the
|
||||||
flow decision icon \inlineimage icons/flow-decision-icon.png
|
flow decision icon \inlineimage icons/flow-decision-icon.png
|
||||||
:
|
:
|
||||||
|
|
||||||
@@ -587,14 +587,14 @@
|
|||||||
component in the \l {2D} view.
|
component in the \l {2D} view.
|
||||||
\li In the \uicontrol {Label position} field, select the corner of
|
\li In the \uicontrol {Label position} field, select the corner of
|
||||||
the flow decision icon to place the label in.
|
the flow decision icon to place the label in.
|
||||||
|
\li Use the \l{Picking Colors}{color picker} to set \uicontrol {Outline color} and
|
||||||
|
\uicontrol {Fill color} of the flow decision icon.
|
||||||
\li In the \uicontrol Size field, specify the size of the flow
|
\li In the \uicontrol Size field, specify the size of the flow
|
||||||
decision icon.
|
decision icon.
|
||||||
\li In the \uicontrol Radius field, specify the radius of the flow
|
\li In the \uicontrol Radius field, specify the radius of the flow
|
||||||
decision icon corners.
|
decision icon corners.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
You can use the \l{Picking Colors}{color picker} to set the outline and
|
|
||||||
fill color of the flow decision icon.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|