From 443630c6b9d13458673d5e411c3192d0fa632861 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Tue, 29 Mar 2022 09:19:11 +0200 Subject: [PATCH] QML: Create Arguments heading in chapter 4 Menu Signed-off-by: Juraj Oravec --- qml/articles/4.Adding_entry_to_the_web_context_menu.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qml/articles/4.Adding_entry_to_the_web_context_menu.md b/qml/articles/4.Adding_entry_to_the_web_context_menu.md index 6736b2a..cb3d846 100644 --- a/qml/articles/4.Adding_entry_to_the_web_context_menu.md +++ b/qml/articles/4.Adding_entry_to_the_web_context_menu.md @@ -47,8 +47,9 @@ populateWebViewMenu: function(menu, webHitTestResult) { } ``` +## Arguments -### Argument: menu +### menu Menu to which the action will be added. The submenu can also be created, might be added later. For now just go see for yourself files @@ -56,7 +57,7 @@ see for yourself files and for exact implementation also look at [qmlmenu.cpp][qmlmenu_cpp_link] -### Argument: webHitTestResult +### webHitTestResult 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 found in the code in file