forked from qt-creator/qt-creator
Doc: Update Reacting to External Events
Fixes: QDS-11507 Change-Id: Id6ba8895ee4141127feb199c7db05c26dcc9473d Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Teea Põldsam
parent
09dcb1d730
commit
61d936af89
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
BIN
doc/qtdesignstudio/images/studio-flow-wildcard-properties.webp
Normal file
BIN
doc/qtdesignstudio/images/studio-flow-wildcard-properties.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
doc/qtdesignstudio/images/studio-flow-wildcard.webp
Normal file
BIN
doc/qtdesignstudio/images/studio-flow-wildcard.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
@@ -256,8 +256,9 @@
|
|||||||
\li Drag the action area to the UI control that you want to connect
|
\li Drag the action area to the UI control that you want to connect
|
||||||
to the other flow item. For example, to a button that opens another
|
to the other flow item. For example, to a button that opens another
|
||||||
flow item when clicked.
|
flow item when clicked.
|
||||||
\li Double-click the action area and drag the transition line to the
|
\li Double-click the action area and drag the transition line to the flow item you want to
|
||||||
flow item you want to connect to.
|
connect to. Alternatively, select the action area, right-click it to open the
|
||||||
|
context-menu, and then select \uicontrol Connect and the flow item from the list.
|
||||||
\li In \l Properties, modify the properties of the action area
|
\li In \l Properties, modify the properties of the action area
|
||||||
and transition line.
|
and transition line.
|
||||||
\endlist
|
\endlist
|
||||||
@@ -646,11 +647,10 @@
|
|||||||
time, based on a conditional event. For example, push notifications
|
time, based on a conditional event. For example, push notifications
|
||||||
appear on mobile devices and incoming call screens on a car's HMI.
|
appear on mobile devices and incoming call screens on a car's HMI.
|
||||||
|
|
||||||
You can use the \uicontrol {Flow Wildcard} component to model this type of
|
Use the \uicontrol {Flow Wildcard} component to model this type of
|
||||||
screens in your \l{Adding Flow Views}{flow view} using real or simulated
|
screens in your \l{Adding Flow Views}{flow view} using real or simulated events.
|
||||||
\l{Connecting and Releasing Signals}{signals} and \l{Simulating Conditions}
|
Add \l{Adding Flow Items}{flow items} to an \uicontrol {Allow
|
||||||
{conditions}. You can add \l{Adding Flow Items}{flow items} to a positive
|
list} to prioritize them or to a \uicontrol {Block list} to stop some screens from
|
||||||
list to prioritize them or to a negative list to stop some screens from
|
|
||||||
appearing on others. For example, you could block the incoming call screen
|
appearing on others. For example, you could block the incoming call screen
|
||||||
from appearing on a warning screen for the engine if you consider the
|
from appearing on a warning screen for the engine if you consider the
|
||||||
warning more important.
|
warning more important.
|
||||||
@@ -659,42 +659,46 @@
|
|||||||
|
|
||||||
\list 1
|
\list 1
|
||||||
\li Drag a \uicontrol {Flow Wildcard} component from
|
\li Drag a \uicontrol {Flow Wildcard} component from
|
||||||
\uicontrol Components > \uicontrol {Flow View} to an
|
\uicontrol Components > \uicontrol {Flow View} to the \l {2D} view.
|
||||||
\l{Adding Action Areas and Transitions}{action area} in
|
\li To connect the wildcard to a flow item with a \l{Adding Action Areas and Transitions}
|
||||||
the \l Navigator or \l {2D} view.
|
{transition line}, double-click the wildcard and drag the transition line to the flow
|
||||||
\li In \l Properties, select flow items to add them to the
|
item.
|
||||||
positive and negative list of the action area.
|
\li To add logic to the \uicontrol {Flow Wildcard} component, use
|
||||||
|
\l{Simulating Events}{events}, \l{Simulating Conditions}{Flow Decision} components,
|
||||||
|
or \l{Connecting and Releasing Signals}{signals}.
|
||||||
|
\li To manage the priority of your flow items, add flow items to
|
||||||
|
\uicontrol {Allow list} or \uicontrol {Block list} in \l Properties.
|
||||||
|
\image studio-flow-wildcard.webp "The wildcard component in 2D view."
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\section1 Flow Wildcard Properties
|
\section1 Flow Wildcard Properties
|
||||||
|
|
||||||
You can specify basic properties for a \uicontrol {Flow Wildcard} component
|
Specify basic properties for a \uicontrol {Flow Wildcard} 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 wildcards in the
|
\uicontrol Properties view. Specify properties for flow wildcards in the
|
||||||
\uicontrol {Flow Wildcard} section.
|
\uicontrol {Flow Wildcard} section.
|
||||||
|
|
||||||
\image studio-flow-wildcard-properties.png "Flow Wildcard properties"
|
\image studio-flow-wildcard-properties.webp "Flow Wildcard properties"
|
||||||
|
|
||||||
In the \uicontrol {Event IDs} field, specify the IDs of the events to
|
In the \uicontrol {Event IDs} field, specify the IDs of the events to
|
||||||
connect to, such as mouse, touch or keyboard events.
|
connect to, such as mouse, touch or keyboard events.
|
||||||
|
|
||||||
Select the \uicontrol {Global wildcard} check box to enable triggering
|
Select the \uicontrol {Global wildcard} checkbox to enable triggering
|
||||||
the wildcard from several flows.
|
the wildcard from several flows.
|
||||||
|
|
||||||
To give flow items high priority, select them in the
|
To give flow items high priority, select them in the
|
||||||
\uicontrol {Allow list} field. To block flow items,
|
\uicontrol {Allow list} field. To block flow items,
|
||||||
select them in the \uicontrol {Block list} field.
|
select them in the \uicontrol {Block list} field.
|
||||||
|
|
||||||
You can specify the following properties to change the appearance of the
|
Specify the following properties to change the appearance of the
|
||||||
wildcard icon \inlineimage icons/flow-wildcard-icon.png
|
wildcard icon \inlineimage icons/flow-wildcard-icon.png:
|
||||||
:
|
|
||||||
|
|
||||||
\list
|
\list
|
||||||
|
\li To set the outline and fill color of the wildcard icon, use the
|
||||||
|
\l{Picking Colors}{color picker}.
|
||||||
\li In the \uicontrol Size field, specify the size of the wildcard icon.
|
\li In the \uicontrol Size field, specify the size of the wildcard icon.
|
||||||
\li In the \uicontrol Radius field, specify the radius of the wildcard
|
\li In the \uicontrol Radius field, specify the radius of the wildcard
|
||||||
icon corners.
|
icon corners.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
You can use the \l{Picking Colors}{color picker} to set the outline and
|
|
||||||
fill color of the wildcard icon.
|
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user