2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-app-flows.html
|
|
|
|
|
\previouspage quick-uis.html
|
2021-03-11 18:08:46 +01:00
|
|
|
\nextpage studio-flow-view.html
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
\title Designing Application Flows
|
|
|
|
|
|
2022-08-29 13:58:04 +03:00
|
|
|
\image studio-flow-view.png "Application flow in the 2D view"
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
In \QDS, a \e {flow view} represents a schematic diagram. It consists of
|
|
|
|
|
\e {flow items} that represent the screens in the UI and \e {transition
|
|
|
|
|
lines} that connect them, thus illustrating the possible user pathways
|
|
|
|
|
through the UI. You use \e {action areas} as starting points for transition
|
|
|
|
|
lines. You can attach effects to transition lines, such as fade or push,
|
2021-03-11 18:08:46 +01:00
|
|
|
to determine what users see when one flow item changes into another.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
You can use \e {flow decisions} to set up alternative pathways between
|
2021-03-11 18:08:46 +01:00
|
|
|
flow items in the UI. For example, if user input determines which flow item
|
2020-06-11 10:41:24 +02:00
|
|
|
should open next, you can test the different scenarios in the prototype
|
2021-03-11 18:08:46 +01:00
|
|
|
by having a dialog pop up where you can select which flow item to show next.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
Especially on mobile and embedded platforms, the application might need to
|
|
|
|
|
react to external events from the platform, such as notifications or other
|
|
|
|
|
applications requiring the users' attention. You can use \e {flow wildcards}
|
2021-03-11 18:08:46 +01:00
|
|
|
to determine the priority of flow items by adding them to positive and
|
|
|
|
|
negative lists.
|
|
|
|
|
|
|
|
|
|
To design application flows:
|
|
|
|
|
|
|
|
|
|
\image studio-flow-steps.png "Designing application flows"
|
|
|
|
|
|
|
|
|
|
\list 1
|
|
|
|
|
\li Use a project wizard template to add a \uicontrol {Flow View}
|
|
|
|
|
component, as described in \l{Adding Flow Views}.
|
|
|
|
|
\li Use a project wizard template to add a \uicontrol {Flow Item}
|
|
|
|
|
component for each screen in the UI, as described in
|
|
|
|
|
\l{Adding Flow Items}.
|
|
|
|
|
\li Use context menu commands to add action areas and transitions,
|
|
|
|
|
as described in \l{Adding Action Areas and Transitions}.
|
|
|
|
|
\li Use context menu commands to apply effects to transitions,
|
|
|
|
|
as described in \l{Applying Effects to Transitions}.
|
|
|
|
|
\li When you are ready for production, use the event list simulator
|
|
|
|
|
to replace transition lines with connections to real signals
|
|
|
|
|
from UI controls, as described in \l{Simulating Events}.
|
|
|
|
|
\li To set up alternative pathways between flow items, use
|
2022-02-25 12:52:54 +02:00
|
|
|
\uicontrol {Flow Decision} components from
|
2021-04-14 17:31:17 +03:00
|
|
|
\uicontrol Components > \uicontrol {Flow View}, as described in
|
|
|
|
|
\l{Simulating Conditions}.
|
2022-10-13 10:40:05 +03:00
|
|
|
\li Use \l{Working with States}{states} in flows to modify the appearance
|
2021-03-11 18:08:46 +01:00
|
|
|
of components on screens in response to user interaction, as
|
|
|
|
|
described in \l{Applying States in Flows}.
|
2022-02-25 12:52:54 +02:00
|
|
|
\li Use \uicontrol {Flow Wildcard} components from
|
2021-04-14 17:31:17 +03:00
|
|
|
\uicontrol Components > \uicontrol {Flow View} to prioritize events
|
|
|
|
|
from other applications and to stop some screens from appearing on
|
|
|
|
|
others, as described in \l{Reacting to External Events}.
|
2021-03-11 18:08:46 +01:00
|
|
|
\endlist
|
|
|
|
|
*/
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
/*!
|
|
|
|
|
\page studio-flow-view.html
|
|
|
|
|
\previouspage studio-app-flows.html
|
|
|
|
|
\nextpage studio-flow-item.html
|
|
|
|
|
|
|
|
|
|
\title Adding Flow Views
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
You can add a flow view to an existing project or create a new project
|
2021-03-11 18:08:46 +01:00
|
|
|
for it, as described in \l {Creating Projects}.
|
|
|
|
|
|
|
|
|
|
To create the flow view, select \uicontrol File >
|
2021-11-19 11:28:25 +01:00
|
|
|
\uicontrol {New File} >
|
2021-03-11 18:08:46 +01:00
|
|
|
\uicontrol {Qt Quick Files} > \uicontrol {Flow View}
|
|
|
|
|
and follow the instructions of the wizard.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
\image studio-flow-view-create.png "Create Flow View wizard template"
|
|
|
|
|
|
|
|
|
|
You only need to select the \uicontrol {Use Event Simulator} check box if
|
|
|
|
|
you want to add an event simulator to the flow view. The event simulator
|
|
|
|
|
needs the project to be imported to the flow view, so you also need
|
|
|
|
|
to select the \uicontrol {Use Application Import} check box. You need the
|
|
|
|
|
import also for access to the project \c Constants.qml file that contains
|
|
|
|
|
global settings for the project.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
The flow view properties enable you to adjust the appearance of all
|
|
|
|
|
the items in the flow: action areas, transition lines, decisions, and
|
|
|
|
|
wildcards. You can change the global settings for all items by editing
|
|
|
|
|
flow view properties, or you can select an individual action area or
|
2021-03-11 18:08:46 +01:00
|
|
|
transition line and change the appearance of just that component, including
|
2020-06-11 10:41:24 +02:00
|
|
|
the color, line thickness, dotted or solid lines, and even the curve of
|
2021-03-11 18:08:46 +01:00
|
|
|
the line. This enables you to add extra semantics to the design
|
2020-06-11 10:41:24 +02:00
|
|
|
of the flow diagram itself.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can \l{Adding Flow Items}{add flow items} to the flow view to design
|
|
|
|
|
the UI.
|
|
|
|
|
|
|
|
|
|
\section1 Flow View Properties
|
|
|
|
|
|
|
|
|
|
You can specify basic properties for a \uicontrol {Flow View} component
|
2021-08-24 16:42:42 +02:00
|
|
|
in the \l {Type}{Component}, \l {2D Geometry}{Geometry - 2D}, and
|
|
|
|
|
\l Visibility sections in the \l Properties view. Specify flow view
|
|
|
|
|
properties in the \uicontrol {Flow View} section.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-view-properties.png "Flow View component properties"
|
|
|
|
|
|
|
|
|
|
To specify the \uicontrol {Flow Item} that is currently visible in the
|
|
|
|
|
flow view, set its index in the \uicontrol {Current index} field.
|
|
|
|
|
|
|
|
|
|
You can use the \l{Picking Colors}{color picker} to set colors for:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li Transition lines
|
|
|
|
|
\li Area outlines
|
|
|
|
|
\li Area fills
|
|
|
|
|
\li Block items
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
You can set some additional global properties for drawing transition lines:
|
|
|
|
|
|
|
|
|
|
\image studio-flow-view-properties-transition.png "Flow View transition properties"
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li In the \uicontrol {Type} field, select \uicontrol Bezier to draw
|
|
|
|
|
transition lines as bezier curves.
|
|
|
|
|
\li In the \uicontrol {Radius} field, specify the corner radius for
|
|
|
|
|
default curves.
|
|
|
|
|
\li In the \uicontrol {Bezier factor} field, specify the factor that
|
|
|
|
|
modifies the positions of the control points used for bezier curves.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
For more information about changing the appearance of a particular action
|
|
|
|
|
area or transition line, see \l{Flow Action Area Properties} and
|
|
|
|
|
\l{Flow Transition Properties}.
|
|
|
|
|
|
|
|
|
|
In the \uicontrol Layout tab, you can use \l{Setting Anchors and Margins}
|
|
|
|
|
{anchors} to position the component.
|
|
|
|
|
|
2021-07-06 15:57:53 +02:00
|
|
|
In the \uicontrol Advanced section, you can manage the more
|
2021-03-11 18:08:46 +01:00
|
|
|
\l{Specifying Developer Properties}{advanced properties}
|
|
|
|
|
of components.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-flow-item.html
|
|
|
|
|
\previouspage studio-flow-view.html
|
|
|
|
|
\nextpage studio-flow-action-area.html
|
|
|
|
|
|
|
|
|
|
\title Adding Flow Items
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
After you create a \l{Adding Flow Views}{Flow View} component, you can
|
|
|
|
|
use a project wizard template to add a \uicontrol {Flow Item} component
|
|
|
|
|
for each screen in the UI.
|
|
|
|
|
|
|
|
|
|
If you \l{Importing 2D Assets}{imported} your screen designs from a
|
|
|
|
|
design tool as individual \l{glossary-component}{components}
|
|
|
|
|
(\e {.ui.qml} files), you can use them as content for flow items.
|
2022-02-25 12:52:54 +02:00
|
|
|
The imported components are listed in \uicontrol Components
|
2021-03-11 18:08:46 +01:00
|
|
|
> \uicontrol {My Components}.
|
|
|
|
|
|
|
|
|
|
If you are building your UI from scratch in \QDS, you must first add
|
|
|
|
|
components to the flow items to create the screens as you would any
|
2022-02-25 12:52:54 +02:00
|
|
|
components. For more information, see \l {Using Components}. The
|
2021-03-11 18:08:46 +01:00
|
|
|
flow items that you attach the components to are listed under
|
|
|
|
|
\uicontrol {My Components}.
|
|
|
|
|
|
2022-02-28 10:51:05 +01:00
|
|
|
\image studio-flow-item.png "Custom Flow Item in Components"
|
2020-06-19 16:45:55 +02:00
|
|
|
|
|
|
|
|
\note You must use the wizard to create the flow items. After you create
|
2022-02-25 12:52:54 +02:00
|
|
|
a flow view, the \uicontrol {Flow View} module is added to
|
|
|
|
|
\uicontrol Components. It contains a \uicontrol {Flow Item} component that
|
2021-04-14 17:31:17 +03:00
|
|
|
you can use to \l{Applying States in Flows}{apply states to flow items}, and
|
|
|
|
|
that you should use solely for that purpose.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
To add flow items:
|
|
|
|
|
|
|
|
|
|
\list 1
|
2021-11-19 11:28:25 +01:00
|
|
|
\li Select \uicontrol File > \uicontrol {New File} >
|
|
|
|
|
\uicontrol {Qt Quick Files} >
|
2020-06-11 10:41:24 +02:00
|
|
|
\uicontrol {Flow Item} and follow the instructions of the wizard
|
|
|
|
|
to create flow items for each screen in the UI.
|
2020-06-19 16:45:55 +02:00
|
|
|
\li Add content to the flow item in one of the following ways:
|
|
|
|
|
\list
|
2022-02-25 12:52:54 +02:00
|
|
|
\li Drag-and-drop components from \uicontrol Components to a
|
2022-08-29 13:58:04 +03:00
|
|
|
flow item in the \l {2D} view or \l Navigator.
|
2022-02-25 12:52:54 +02:00
|
|
|
\li Drag a screen from \uicontrol Components
|
2021-08-24 16:42:42 +02:00
|
|
|
> \uicontrol {My Components} to a flow item in
|
2022-08-29 13:58:04 +03:00
|
|
|
the \uicontrol {2D} view or \uicontrol Navigator.
|
2020-06-19 16:45:55 +02:00
|
|
|
\endlist
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In \l Properties, edit the properties of each flow item.
|
2020-06-11 10:41:24 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2022-02-25 12:52:54 +02:00
|
|
|
You can now drag the flow items from \uicontrol Components
|
2022-08-29 13:58:04 +03:00
|
|
|
> \uicontrol {My Components} to the flow view in the \uicontrol {2D}
|
|
|
|
|
or \uicontrol Navigator view. When you have all the flow items in place, you can
|
2021-03-11 18:08:46 +01:00
|
|
|
\l{Adding Action Areas and Transitions}{add action areas} to them to create
|
|
|
|
|
transitions between them.
|
|
|
|
|
|
|
|
|
|
\section1 Flow Item Properties
|
|
|
|
|
|
|
|
|
|
You can specify basic properties for a \uicontrol {Flow Item} component
|
2021-08-24 16:42:42 +02:00
|
|
|
in the \l {Type}{Component}, \l {2D Geometry}{Geometry - 2D}, and
|
|
|
|
|
\l Visibility sections in the \uicontrol Properties view. Specify flow item
|
|
|
|
|
properties in the \uicontrol {Flow Item} section.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-item-properties.png "Flow Item properties"
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
The \uicontrol {State change target} and \uicontrol {Target state}
|
|
|
|
|
properties are used to \l{Applying States in Flows}{apply states}
|
|
|
|
|
in flows.
|
|
|
|
|
|
|
|
|
|
To include another flow view into a flow view, select the UI file (.ui.qml)
|
|
|
|
|
that specifies the flow view in the \uicontrol {Loader source} field.
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
Usually, a flow item is inactive and invisible when it is not currently
|
|
|
|
|
selected in the flow. Especially, all events from the flow item are ignored.
|
|
|
|
|
To make a flow item always active, so that another flow item within it
|
|
|
|
|
can respond to events and trigger the opening of a dialog, for example,
|
|
|
|
|
select the \uicontrol {Force active} check box.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
By default, transitions are drawn from action areas to the target flow item.
|
|
|
|
|
To draw the transitions from the edges of flow items instead, select the
|
2021-08-24 16:42:42 +02:00
|
|
|
\uicontrol {Join lines} check box in the \uicontrol {Transition Lines}
|
|
|
|
|
section.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
In the \uicontrol Layout tab, you can use \l{Setting Anchors and Margins}
|
|
|
|
|
{anchors} to position the component.
|
|
|
|
|
|
2021-07-06 15:57:53 +02:00
|
|
|
In the \uicontrol Advanced section, you can manage the more
|
2021-03-11 18:08:46 +01:00
|
|
|
\l{Specifying Developer Properties}{advanced properties} of components.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-flow-action-area.html
|
|
|
|
|
\previouspage studio-flow-item.html
|
|
|
|
|
\nextpage studio-flow-effects.html
|
|
|
|
|
|
|
|
|
|
\title Adding Action Areas and Transitions
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
\e {Action areas} can act as clickable areas that initiate transitions
|
2021-04-22 19:02:17 +02:00
|
|
|
between flow items or they can \l{Connecting and Releasing Signals}
|
2021-03-11 18:08:46 +01:00
|
|
|
{create connections} to any signal from any component in a
|
|
|
|
|
\l{Adding Flow Items}{flow item}. For example, you could connect an
|
|
|
|
|
action to the \c onPressed signal of a button in your flow item to
|
|
|
|
|
determine what should happen when users press the button.
|
|
|
|
|
|
2022-08-29 13:58:04 +03:00
|
|
|
\image studio-flow-action-area.png "Flow Action Area in the 2D view"
|
2021-03-11 18:08:46 +01:00
|
|
|
|
2021-04-22 19:02:17 +02:00
|
|
|
\note To connect components to \l{Connecting and Releasing Signals}
|
|
|
|
|
{signals}, you must first export the components as
|
|
|
|
|
\l{Adding Property Aliases}{aliases} in \l Navigator.
|
|
|
|
|
To create and release connections, select
|
|
|
|
|
\uicontrol {Open Signal Dialog} in the context menu.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can select the type of the mouse or touch input to use for triggering
|
|
|
|
|
events, such as click, double-click, flick, pinch, or press.
|
|
|
|
|
|
|
|
|
|
Typically, a flow item can be connected to several other flow items in the
|
|
|
|
|
flow with two-way connections. To avoid clutter, you can set an action area
|
|
|
|
|
as \e {go back} instead of adding explicit transition lines to and from
|
|
|
|
|
every potentially connected flow item. When the \uicontrol {Go back} option
|
|
|
|
|
is enabled, the transition will always take the user back to the previous
|
|
|
|
|
flow item.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can specify the appearance of each action area or transition line,
|
|
|
|
|
including the color, line thickness, dotted or solid lines, and even
|
|
|
|
|
the curve of the transition lines. You can change some of these properties
|
|
|
|
|
globally, as instructed in \l{Flow View Properties}.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
To create action areas:
|
|
|
|
|
|
|
|
|
|
\list 1
|
2022-08-29 13:58:04 +03:00
|
|
|
\li Right-click the flow item in the \l {2D} view and select
|
2021-03-11 18:08:46 +01:00
|
|
|
\uicontrol {Flow} > \uicontrol {Create Flow Action} in
|
|
|
|
|
the context menu.
|
|
|
|
|
\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
|
|
|
|
|
flow item when clicked.
|
2020-06-11 10:41:24 +02:00
|
|
|
\li Double-click the action area and drag the transition line to the
|
|
|
|
|
flow item you want to connect to.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In \l Properties, modify the properties of the action area
|
2020-06-11 10:41:24 +02:00
|
|
|
and transition line.
|
|
|
|
|
\endlist
|
|
|
|
|
|
2021-12-09 17:39:20 +01:00
|
|
|
To preview the flow, select the \inlineimage icons/live_preview.png
|
2021-03-11 18:08:46 +01:00
|
|
|
(\uicontrol {Show Live Preview}) button on the Design mode
|
|
|
|
|
\l{Summary of Main Toolbar Actions}{toolbar} or press \key {Alt+P}.
|
|
|
|
|
|
|
|
|
|
\section1 Common Properties
|
|
|
|
|
|
|
|
|
|
You can specify basic properties for \uicontrol {Flow Action Area}
|
|
|
|
|
and \uicontrol {Flow Transition} components in the \l {Type}{Component},
|
2021-08-24 16:42:42 +02:00
|
|
|
\l {2D Geometry}{Geometry - 2D}, and \l Visibility sections in the
|
|
|
|
|
\uicontrol Properties view.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
In the \uicontrol Layout tab, you can use \l{Setting Anchors and Margins}
|
|
|
|
|
{anchors} to position the component.
|
|
|
|
|
|
2021-07-06 15:57:53 +02:00
|
|
|
In the \uicontrol Advanced section, you can manage the more
|
2021-03-11 18:08:46 +01:00
|
|
|
\l{Specifying Developer Properties}{advanced properties} of components.
|
|
|
|
|
|
|
|
|
|
\section1 Flow Action Area Properties
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
In the \uicontrol {Flow Action Area} section, you can use the
|
|
|
|
|
\l{Picking Colors}{color picker} to set line and fill color.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\image studio-flow-action-area-properties.png "Flow Action Area properties"
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
In the \uicontrol {Flow Action} and \uicontrol {Action Area} sections,
|
|
|
|
|
specify additional properties for action areas:
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li Select the \uicontrol {Go back} check box to specify that the
|
|
|
|
|
transition will always take the user back to the previous flow item.
|
|
|
|
|
\li In the \uicontrol {Event IDs} field, specify the IDs of the
|
|
|
|
|
events to connect to, such as mouse, touch or keyboard events.
|
|
|
|
|
\li In the \uicontrol {Action type} field, select the type of the
|
|
|
|
|
mouse or touch input to use for triggering events.
|
|
|
|
|
\li In the \uicontrol {Line width} field, set the width of the
|
|
|
|
|
action area outline.
|
|
|
|
|
\li Select the \uicontrol {Dashed line} check box to draw a dashed
|
|
|
|
|
action area outline.
|
|
|
|
|
\li Select the \uicontrol Enabled check box to enable interaction
|
|
|
|
|
with the action area during preview.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
\section1 Flow Transition Properties
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
In the \uicontrol Transition section, specify additional properties for
|
|
|
|
|
transitions between \l{Adding Flow Items}{flow items}:
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-transition-properties.png "Flow Transition properties"
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li Select the \uicontrol Condition checkbox to activate the
|
|
|
|
|
transition. You can select \inlineimage icons/action-icon.png
|
|
|
|
|
to \l{Adding Bindings Between Properties}{bind} a condition
|
|
|
|
|
to the transition.
|
|
|
|
|
\li In the \uicontrol Question field, enter the text that will appear
|
|
|
|
|
next to the transition line. If the transition represents the
|
|
|
|
|
connection to a \uicontrol {Flow Decision} component, the
|
|
|
|
|
text will also be visible in the selection dialog that opens when
|
|
|
|
|
the \l{Simulating Conditions}{condition} is triggered.
|
|
|
|
|
\li In the \uicontrol {Event IDs} field, specify the IDs of the
|
|
|
|
|
events to connect to, such as mouse, touch or keyboard events.
|
|
|
|
|
\li In the \uicontrol From and \uicontrol To fields, select the
|
|
|
|
|
flow item where the transition starts and the one where it
|
|
|
|
|
ends.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
You can specify the following properties to change the appearance of
|
2022-08-29 13:58:04 +03:00
|
|
|
transition lines in the \uicontrol {2D} view:
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-transition-line-properties.png "Flow Transition Line properties"
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li In the \uicontrol {Line width} field, set the width of the
|
|
|
|
|
transition line.
|
2021-08-24 16:42:42 +02:00
|
|
|
\li In the \uicontrol {Offset} and \uicontrol {Break offset} fields, set
|
|
|
|
|
the start point (\uicontrol Out) or end point (\uicontrol In) of a
|
2021-03-11 18:08:46 +01:00
|
|
|
transition line or a break to the specified offset. This enables
|
|
|
|
|
you to move them up and down or left and right.
|
|
|
|
|
\li Select the \uicontrol {Dashed line} check box to draw a dashed line.
|
|
|
|
|
\li In the \uicontrol Type field, select \uicontrol Bezier to draw
|
|
|
|
|
transition lines as bezier curves.
|
|
|
|
|
\li In the \uicontrol Radius field, specify the corner radius for
|
|
|
|
|
default curves.
|
|
|
|
|
\li In the \uicontrol {Bezier factor} field, specify the factor that
|
|
|
|
|
modifies the positions of the control points used for a bezier
|
|
|
|
|
curve.
|
|
|
|
|
\li In the \uicontrol {Label position} field, set the position of
|
|
|
|
|
the value of the \uicontrol Question field in respect to the
|
|
|
|
|
transition start point.
|
|
|
|
|
\li Select the \uicontrol {Label flip side} check box to move the
|
|
|
|
|
\uicontrol Question value to the opposite side of the transition
|
|
|
|
|
line.
|
|
|
|
|
\endlist
|
2021-04-22 19:02:17 +02:00
|
|
|
|
|
|
|
|
\section1 Connecting and Releasing Signals
|
|
|
|
|
|
|
|
|
|
To connect a component to a \l{Connecting Components to Signals}{signal},
|
|
|
|
|
select \uicontrol {Open Signal Dialog} in the context menu. The
|
|
|
|
|
\uicontrol {Signal List} dialog displays the signals for all components
|
|
|
|
|
that you export as \l{Adding Property Aliases}{aliases} in \l Navigator.
|
|
|
|
|
|
|
|
|
|
\image studio-flow-signal-list.png "Signal List dialog"
|
|
|
|
|
|
|
|
|
|
To connect a component to a signal, select \uicontrol Connect next to one
|
|
|
|
|
in the list. To release a connected signal, select \uicontrol Release.
|
2021-03-11 18:08:46 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-flow-effects.html
|
|
|
|
|
\previouspage studio-flow-action-area.html
|
|
|
|
|
\nextpage studio-flow-events.html
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\title Applying Effects to Transitions
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can apply effects, such as fade, move, or push to
|
|
|
|
|
\l{Adding Action Areas and Transitions}{transitions} between
|
|
|
|
|
\l{Adding Flow Items}{flow items}. A fade effect makes the first
|
|
|
|
|
flow item appear to fade out, while the next flow item fades in.
|
|
|
|
|
A move effect makes the second flow item appear to move in over the
|
|
|
|
|
first flow item, while the push effect appears to make a flow item
|
|
|
|
|
push out the previous one. You can also design and use custom effects.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
The transition direction determines the direction the new flow item appears
|
2020-06-11 10:41:24 +02:00
|
|
|
from: left, right, top, bottom. You can set the duration of the effect and
|
|
|
|
|
\l{Editing Easing Curves}{attach an easing curve} to the effect.
|
|
|
|
|
|
|
|
|
|
To add effects:
|
|
|
|
|
|
|
|
|
|
\list 1
|
2022-08-29 13:58:04 +03:00
|
|
|
\li Select a transition line in the \l {2D} view.
|
2020-06-11 10:41:24 +02:00
|
|
|
\li In the context menu, select \uicontrol {Flow} >
|
|
|
|
|
\uicontrol {Assign Flow Effects}, and then select the effect
|
|
|
|
|
to apply.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In \l Properties, modify the properties of the effect.
|
2020-06-11 10:41:24 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
To edit effect properties later, select a transition, and then select
|
2020-06-11 10:41:24 +02:00
|
|
|
\uicontrol {Flow} > \uicontrol {Select Effect} in the context menu.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\section1 Flow Effect Properties
|
|
|
|
|
|
|
|
|
|
You can specify basic properties for a \uicontrol {Flow Effect}
|
2021-08-24 16:42:42 +02:00
|
|
|
component in the \l Type and \l ID fields in the \uicontrol Component
|
|
|
|
|
section in the \uicontrol Properties view.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-effect-properties.png "Flow Effect properties"
|
|
|
|
|
|
|
|
|
|
You can set the duration and easing curve of all flow effects:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li In the \uicontrol Duration field, specify the duration of the
|
|
|
|
|
effect.
|
2021-12-09 17:39:20 +01:00
|
|
|
\li Select the \inlineimage icons/curve_editor.png
|
2021-03-11 18:08:46 +01:00
|
|
|
button to open \uicontrol {Easing Curve Editor} for attaching an
|
|
|
|
|
\l{Editing Easing Curves}{easing curve} to the effect.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
For a move or push effect, you can set some additional properties:
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\image studio-flow-effect-push-properties.png "Flow Push Effect properties"
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\li In the \uicontrol Direction field, specify the direction that
|
|
|
|
|
the target \uicontrol {Flow Item} appears from: left, right, top,
|
|
|
|
|
or bottom.
|
|
|
|
|
\li In the \uicontrol Scale field, set scaling for the effect.
|
|
|
|
|
\li In the \uicontrol {Incoming opacity} and
|
|
|
|
|
\uicontrol {Outgoing opacity} fields, specify the opacity of
|
|
|
|
|
the effect as a number between 0 and 1.
|
|
|
|
|
\li Select the \uicontrol Reveal check box to reveal the
|
|
|
|
|
\uicontrol {Flow Item} where the transition starts.
|
|
|
|
|
\endlist
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-flow-events.html
|
|
|
|
|
\previouspage studio-flow-effects.html
|
|
|
|
|
\nextpage studio-flow-conditions.html
|
|
|
|
|
|
|
|
|
|
\title Simulating Events
|
|
|
|
|
|
|
|
|
|
While \l{Adding Action Areas and Transitions}{transition lines}
|
|
|
|
|
are useful for prototyping, in production you need to use the real
|
2021-04-22 19:02:17 +02:00
|
|
|
\l{Connecting and Releasing Signals}{signals} from UI
|
2021-03-11 18:08:46 +01:00
|
|
|
\l{glossary-component}{components} to control the flow of the application.
|
2020-06-11 10:41:24 +02:00
|
|
|
For this purpose, you can use action areas in a more advanced way, by
|
2021-03-11 18:08:46 +01:00
|
|
|
having them listen to signals from flow items or the controls in them and
|
|
|
|
|
by connecting these to the \l{Adding Flow Views}{flow view}. You can use
|
|
|
|
|
keyboard shortcuts to simulate these events when you preview the UI.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
When you use the wizard to create a \uicontrol {Flow View} component, select
|
|
|
|
|
the \uicontrol {Use event simulator} check box to add an event simulator to
|
|
|
|
|
the flow view.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
You can create an event list where you assign keyboard shortcuts to events,
|
|
|
|
|
and then use context-menu commands to attach the events to action areas or
|
|
|
|
|
transition lines.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\section1 Creating Event Lists
|
|
|
|
|
|
2020-06-11 10:41:24 +02:00
|
|
|
To create an event list:
|
|
|
|
|
|
|
|
|
|
\list 1
|
2020-11-20 15:39:26 +01:00
|
|
|
\li Select the \inlineimage icons/edit.png
|
2021-03-11 18:08:46 +01:00
|
|
|
(\uicontrol {Show Event List}) button on the Design mode
|
|
|
|
|
\l{Summary of Main Toolbar Actions}{toolbar}, or press \key {Alt+E}.
|
2021-12-09 14:38:52 +01:00
|
|
|
\li In the \uicontrol {Event List} dialog, select \inlineimage icons/plus.png
|
2020-06-11 10:41:24 +02:00
|
|
|
to add a keyboard shortcut for triggering an event to the list.
|
2021-03-11 18:08:46 +01:00
|
|
|
\image studio-flow-event-list.png "Event List dialog"
|
|
|
|
|
\li In the \uicontrol {Event ID} field, enter an identifier for the
|
|
|
|
|
event. You can search for existing events by entering search
|
|
|
|
|
criteria in the \uicontrol Filter field.
|
|
|
|
|
\li In the \uicontrol Description field, describe the keyboard shortcut.
|
2020-06-11 10:41:24 +02:00
|
|
|
\li In the \uicontrol Shortcut field, press the keyboard key that will
|
|
|
|
|
trigger the event, and then select \uicontrol R to record the
|
|
|
|
|
keyboard shortcut. The key identifier appears in the field.
|
|
|
|
|
\endlist
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can now assign the events to action areas and transitions.
|
|
|
|
|
|
|
|
|
|
\section1 Assigning Events to Actions
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
To assign events to actions:
|
|
|
|
|
|
|
|
|
|
\list 1
|
|
|
|
|
\li In \uicontrol Navigator, select an action area or transition line.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In the context menu, select \uicontrol {Event List} >
|
|
|
|
|
\uicontrol {Assign Events to Actions}.
|
|
|
|
|
\image studio-flow-events-assign.png "Assign Events to Actions dialog"
|
|
|
|
|
\li In the \uicontrol ID field, select a transition or an action area
|
|
|
|
|
\inlineimage icons/flow-action-icon.png
|
|
|
|
|
. You can search for events by entering search criteria in the
|
|
|
|
|
\uicontrol Filter field.
|
|
|
|
|
\li To connect an event, select \uicontrol Connect next to an event in
|
|
|
|
|
the list. To release a connected event, select \uicontrol Release.
|
2020-06-11 10:41:24 +02:00
|
|
|
\li Press \key {Alt+P} to preview the UI.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li Select action areas in the preview, double-click events in the
|
|
|
|
|
event list, or use the keyboard shortcuts to trigger events.
|
|
|
|
|
\image studio-flow-decision-preview.png "Event list in preview"
|
2020-06-11 10:41:24 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
If the event triggers a \l{Simulating Conditions}{flow decision}, you
|
|
|
|
|
can select the path to take to the next flow item.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-flow-conditions.html
|
|
|
|
|
\previouspage studio-flow-events.html
|
|
|
|
|
\nextpage studio-flow-states.html
|
|
|
|
|
|
|
|
|
|
\title Simulating Conditions
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
Part of any complex UI is the conditional logic it uses to present its
|
|
|
|
|
state to users or to collect and process data from various sources. Data
|
|
|
|
|
can be produced by user interaction from a variety of inputs, such as
|
|
|
|
|
buttons and controls, sensor readings from arrays of equipment, or general
|
|
|
|
|
values received from backend or service APIs.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
The \uicontrol {Flow Decision} component simulates conditions by displaying a
|
2020-06-11 10:41:24 +02:00
|
|
|
list of options you can choose from when you preview the flow. This enables
|
|
|
|
|
you to prototype complex interactions before you have access to the physical
|
|
|
|
|
controls, backend, or sensor data that will be required for the production
|
|
|
|
|
version.
|
|
|
|
|
|
2022-08-29 13:58:04 +03:00
|
|
|
\image studio-flow-decision.png "Flow Decision in the 2D view"
|
2021-03-11 18:08:46 +01:00
|
|
|
|
2020-06-11 10:41:24 +02:00
|
|
|
To simulate conditions:
|
|
|
|
|
|
|
|
|
|
\list 1
|
2022-02-25 12:52:54 +02:00
|
|
|
\li Drag a \uicontrol {Flow Decision} component from
|
2021-04-14 17:31:17 +03:00
|
|
|
\uicontrol Components \uicontrol {Flow View} to a
|
2022-08-29 13:58:04 +03:00
|
|
|
\l{Adding Flow Views}{flow view} in the \l Navigator or \l {2D} view.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li Select the flow item where you want the application to start in
|
2022-08-29 13:58:04 +03:00
|
|
|
the \uicontrol Navigator or \uicontrol {2D} view, and then select
|
2021-03-11 18:08:46 +01:00
|
|
|
\uicontrol {Flow} > \uicontrol {Set Flow Start} in the context menu.
|
|
|
|
|
\li Create an \l{Adding Action Areas and Transitions}{action area} for
|
|
|
|
|
the component that will trigger the condition and connect it to the
|
|
|
|
|
flow decision.
|
2020-06-19 16:45:55 +02:00
|
|
|
\li Select the flow decision, and then select \uicontrol Connect in the
|
2021-03-11 18:08:46 +01:00
|
|
|
context menu to create connections to the flow items that will open
|
2020-06-19 16:45:55 +02:00
|
|
|
depending on whether the condition is met.
|
2021-08-24 16:42:42 +02:00
|
|
|
\li In the \l Properties view, \uicontrol {Dialog title} field, enter a
|
2021-03-11 18:08:46 +01:00
|
|
|
title for the selection dialog that opens when the condition is
|
|
|
|
|
triggered.
|
2022-08-29 13:58:04 +03:00
|
|
|
\li Select a transition line in the \uicontrol Navigator or
|
|
|
|
|
\uicontrol {2D} view and add a descriptive text in the
|
2021-03-11 18:08:46 +01:00
|
|
|
\uicontrol {Question} field in \uicontrol Properties to represent
|
|
|
|
|
a choice in the selection dialog.
|
|
|
|
|
\image studio-flow-transition-properties-question.png "Flow Transition properties"
|
2020-06-11 10:41:24 +02:00
|
|
|
\li Press \key {Alt+P} to preview the UI.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li Select action areas in the preview, double-click events in the
|
|
|
|
|
event list, or use the keyboard shortcuts to trigger events.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
Flow decisions are listed in a dialog where you can select which condition
|
|
|
|
|
is met to see the results.
|
|
|
|
|
|
|
|
|
|
\image studio-flow-decision-preview.png "Selection dialog for flow decision"
|
|
|
|
|
|
|
|
|
|
\section1 Flow Decision Properties
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
You can specify basic properties for a \uicontrol {Flow Decision} component
|
|
|
|
|
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 {Flow Decision} section.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-decision-properties.png "Flow Decision properties"
|
|
|
|
|
|
|
|
|
|
In the \uicontrol {Dialog title} field, enter a title for the selection
|
|
|
|
|
dialog that opens when the condition is triggered.
|
|
|
|
|
|
|
|
|
|
You can specify the following properties to change the appearance of the
|
|
|
|
|
flow decision icon \inlineimage icons/flow-decision-icon.png
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
\list
|
2021-08-24 16:42:42 +02:00
|
|
|
\li Select \inlineimage icons/visibility-off.png
|
|
|
|
|
to display the ID of the \uicontrol {Flow Decision}
|
2022-08-29 13:58:04 +03:00
|
|
|
component in the \l {2D} view.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In the \uicontrol {Label position} field, select the corner of
|
|
|
|
|
the flow decision icon to place the label in.
|
|
|
|
|
\li In the \uicontrol Size field, specify the size of the flow
|
|
|
|
|
decision icon.
|
|
|
|
|
\li In the \uicontrol Radius field, specify the radius of the flow
|
|
|
|
|
decision icon corners.
|
2020-06-11 10:41:24 +02:00
|
|
|
\endlist
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can use the \l{Picking Colors}{color picker} to set the outline and
|
|
|
|
|
fill color of the flow decision icon.
|
|
|
|
|
*/
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
/*!
|
|
|
|
|
\page studio-flow-states.html
|
|
|
|
|
\previouspage studio-flow-conditions.html
|
|
|
|
|
\nextpage studio-flow-external-events.html
|
2020-06-11 10:41:24 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\title Applying States in Flows
|
2020-06-19 16:45:55 +02:00
|
|
|
|
2022-10-13 10:40:05 +03:00
|
|
|
You can use \l{Working with States}{states} in flows to modify the appearance
|
2021-03-11 18:08:46 +01:00
|
|
|
of \l{glossary-component}{components} in flow items in response to user
|
|
|
|
|
interaction, for example. For this purpose, you use the
|
2022-02-25 12:52:54 +02:00
|
|
|
\uicontrol {Flow Item} components available in
|
2021-04-14 17:31:17 +03:00
|
|
|
\uicontrol Components > \uicontrol {Flow View}.
|
2020-06-19 16:45:55 +02:00
|
|
|
|
|
|
|
|
\list 1
|
2021-11-19 11:28:25 +01:00
|
|
|
\li Select \uicontrol File > \uicontrol {New File} >
|
|
|
|
|
\uicontrol {Qt Quick Files} >
|
2020-06-19 16:45:55 +02:00
|
|
|
\uicontrol {Flow Item} to create a flow item.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In \l States, add states to the flow item.
|
|
|
|
|
\li Open the .ui.qml file that contains the \l{Adding Flow Views}
|
2022-08-29 13:58:04 +03:00
|
|
|
{flow view} in the \l {2D} view and drag the flow item to the
|
|
|
|
|
flow view in the \l Navigator or \l {2D} view.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li Drag an empty \uicontrol {Flow Item} component from
|
2022-02-25 12:52:54 +02:00
|
|
|
\uicontrol Components > \uicontrol {Flow View}
|
2021-03-11 18:08:46 +01:00
|
|
|
to the flow for each state that you added.
|
|
|
|
|
\li In \l Properties, in the \uicontrol {State change target}
|
2020-06-19 16:45:55 +02:00
|
|
|
field, select the flow item that you created using the wizard.
|
2021-03-11 18:08:46 +01:00
|
|
|
\image studio-flow-item-properties.png "Flow Item properties"
|
2020-06-19 16:45:55 +02:00
|
|
|
\li In the \uicontrol {Target state} field, select the state to
|
|
|
|
|
apply to the flow item.
|
|
|
|
|
\endlist
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can now add \l{Adding Action Areas and Transitions}{action areas} and
|
|
|
|
|
\l{Simulating Conditions}{flow decisions} to apply the different states.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\page studio-flow-external-events.html
|
|
|
|
|
\previouspage studio-flow-states.html
|
|
|
|
|
\nextpage quick-components.html
|
2020-06-19 16:45:55 +02:00
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
\title Reacting to External Events
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
On mobile and embedded platforms, applications are usually integrated into
|
2021-03-11 18:08:46 +01:00
|
|
|
the platform and therefore screens might pop-up from anywhere or at any
|
2020-06-11 10:41:24 +02:00
|
|
|
time, based on a conditional event. For example, push notifications
|
|
|
|
|
appear on mobile devices and incoming call screens on a car's HMI.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
You can use the \uicontrol {Flow Wildcard} component to model this type of
|
|
|
|
|
screens in your \l{Adding Flow Views}{flow view} using real or simulated
|
2021-04-22 19:02:17 +02:00
|
|
|
\l{Connecting and Releasing Signals}{signals} and \l{Simulating Conditions}
|
2021-03-11 18:08:46 +01:00
|
|
|
{conditions}. You can add \l{Adding Flow Items}{flow items} to a positive
|
|
|
|
|
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
|
|
|
|
|
from appearing on a warning screen for the engine if you consider the
|
|
|
|
|
warning more important.
|
2020-06-11 10:41:24 +02:00
|
|
|
|
|
|
|
|
To use wildcards:
|
|
|
|
|
|
|
|
|
|
\list 1
|
2022-02-25 12:52:54 +02:00
|
|
|
\li Drag a \uicontrol {Flow Wildcard} component from
|
2021-04-14 17:31:17 +03:00
|
|
|
\uicontrol Components > \uicontrol {Flow View} to an
|
2022-08-29 13:58:04 +03:00
|
|
|
\l{Adding Action Areas and Transitions}{action area} in
|
|
|
|
|
the \l Navigator or \l {2D} view.
|
2021-03-11 18:08:46 +01:00
|
|
|
\li In \l Properties, select flow items to add them to the
|
|
|
|
|
positive and negative list of the action area.
|
2020-06-11 10:41:24 +02:00
|
|
|
\endlist
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\section1 Flow Wildcard Properties
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
You can specify basic properties for a \uicontrol {Flow Wildcard} component
|
|
|
|
|
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 {Flow Wildcard} section.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
\image studio-flow-wildcard-properties.png "Flow Wildcard properties"
|
|
|
|
|
|
|
|
|
|
In the \uicontrol {Event IDs} field, specify the IDs of the events to
|
|
|
|
|
connect to, such as mouse, touch or keyboard events.
|
|
|
|
|
|
2021-08-24 16:42:42 +02:00
|
|
|
Select the \uicontrol {Global wildcard} check box to enable triggering
|
|
|
|
|
the wildcard from several flows.
|
|
|
|
|
|
2021-03-11 18:08:46 +01:00
|
|
|
To give flow items high priority, select them in the
|
2021-08-24 16:42:42 +02:00
|
|
|
\uicontrol {Allow list} field. To block flow items,
|
|
|
|
|
select them in the \uicontrol {Block list} field.
|
2021-03-11 18:08:46 +01:00
|
|
|
|
|
|
|
|
You can specify the following properties to change the appearance of the
|
|
|
|
|
wildcard icon \inlineimage icons/flow-wildcard-icon.png
|
|
|
|
|
:
|
|
|
|
|
|
|
|
|
|
\list
|
|
|
|
|
\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
|
|
|
|
|
icon corners.
|
|
|
|
|
\endlist
|
|
|
|
|
|
|
|
|
|
You can use the \l{Picking Colors}{color picker} to set the outline and
|
|
|
|
|
fill color of the wildcard icon.
|
2020-06-11 10:41:24 +02:00
|
|
|
*/
|