1

QML: Create Arguments heading in chapter 4 Menu

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2022-03-29 09:19:11 +02:00
parent 827719f35a
commit 443630c6b9
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -47,8 +47,9 @@ populateWebViewMenu: function(menu, webHitTestResult) {
} }
``` ```
## Arguments
### Argument: menu ### menu
Menu to which the action will be added. Menu to which the action will be added.
The submenu can also be created, might be added later. For now just go The submenu can also be created, might be added later. For now just go
see for yourself files see for yourself files
@ -56,7 +57,7 @@ see for yourself files
and for exact implementation also look at and for exact implementation also look at
[qmlmenu.cpp][qmlmenu_cpp_link] [qmlmenu.cpp][qmlmenu_cpp_link]
### Argument: webHitTestResult ### webHitTestResult
Result of a simple test, what is under the mouse? Result of a simple test, what is under the mouse?
I have use a test for an image in my example, more information can be I have use a test for an image in my example, more information can be
found in the code in file found in the code in file