1 min read
Published: 2018-06-24 12:40:00
By Anmol Gautam
Woo.. this is the 6th weekly post - the midway of GSoC (12 weeks). In this 6th week, the following work is done:
Documentation: of the APIs developed in the previous week.
Menus API: The API exposing WebView contextmenu.
Settings API: The API to store settings in form of Key-Value pair for plugins
The Menus API enables the QML Plugin to add an action, separator or menu to the WebView context menu. This API is not similar to the WebExtensions Menus API but is rather Falkonish!
The Settings API enables the QML Plugin to store settings as key-value pairs and uses QSettings to store the data. Developing this API was interesting because it led to a bug-fix (bug was in my previous work) and enabling creating child items in QmlPluginInterface.
I have also created a video to demonstrate the used of Menus and Settings API in HelloQML plugin. The source of HelloQML plugin can be viewed here.
Happy Monsoon :-)
All responses (0)