aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/JsonMenu.h
Commit message (Collapse)AuthorAge
* LARGE UPDATE:Ken Moore2016-11-07
| | | | | | | 1) Dismantle the Lumina library completely. 2) Setup lots of small subproject files (.pri) for the individual classes within the old library. 3) Move all the Lumina binaries to use the new subproject files 4) Split up the LuminaUtils class/files into LUtils and LDesktopUtils (generic utilities, and desktop-specific utilities)
* Finish up the new JSON recursive menu system as well as the test script for ↵Ken Moore2016-06-30
| | | | listing the contents of a directory recursively.
* Add a new type of menu plugin: jsonmenuKen Moore2016-06-29
This is a recursive, auto-generating menu which runs an external utility (a script of some kind usually), which generates a JSON document/object which is used to populate the menu. Syntax: (Per object) { "type" : "item", "icon" : "icon name (optional)", "action" : "something lumina-open can run (optional)" } Or for a recursive menu generation { "type" : "jsonmenu", "exec" : "some command to run to populate menu", "icon" : "icon name (optional)" } Example for a full return: { "Item1" : { "type" : "item", "icon" : "folder", "action" : "~/item1.jpg" }, "Menu1" : { "type" : "jsonmenu", "exec" : "some script", "icon" : "system-run" } } Item1 will open ~/item1.jpg with lumina-open when clicked, while Menu1 will call "some script" to generate a new menu with additional options. }
bgstack15