Doc: Describe adding several accepted buttons for a mouse area

Task-number: QDS-4561
Change-Id: Iadb128c64c42383ddd899a389498e19514068cfa
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Leena Miettinen
2021-08-18 10:39:26 +02:00
parent e05c786780
commit 668a4b59bf
2 changed files with 7 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -112,7 +112,13 @@
In the \uicontrol {Accepted buttons} field, select the mouse button that In the \uicontrol {Accepted buttons} field, select the mouse button that
the mouse area reacts to. Select \uicontrol AllButtons to have the mouse the mouse area reacts to. Select \uicontrol AllButtons to have the mouse
are react to all mouse buttons. area react to all mouse buttons. You can add support for several buttons
in \l {Text Editor} or \uicontrol {Binding Editor} by combining the
values with the OR operator (|). For more information about the available
values, see the developer documentation for \l {MouseArea::acceptedButtons}
{acceptedButtons}.
\image qtquick-properties-mouse-area-accepted-buttons.png "Adding accepted buttons in Binding Editor"
In the \uicontrol {Cursor shape} field, select the cursor shape for this In the \uicontrol {Cursor shape} field, select the cursor shape for this
mouse area. On platforms that do not display a mouse cursor, this value mouse area. On platforms that do not display a mouse cursor, this value