User Tools

Site Tools


Sidebar

Imprint

code:dqmh:hse-application-template:navigation

23 Navigation

The following configuration parameters can be set:

  • buttons_def = “Sidebar-Def_Template.json”
  • #todo
{
 "top": [
  {
   "_name_comment": "name of the button",
   "name": "btn_Dummy",
   "_caption_comment": "caption which will be showed to the user",
   "caption": "Dummy Module",
   "_tooltip_comment": "tooltip whcih will be showed to the user on mouse hover",
   "tooltip": "Show the Dummy module",
   "_enabled_state_comment": "enable state of the button",
   "enabled_state": "Enabled",
   "_action_comment": "DQMH Module which should be called",
   "action": "Modules\\Dummie",
   "_display_scenario_comment": "don't diplay this DQMH Module in the UI Manager",
   "display_scenario": "Stand-Alone",
   "_sub_comment":"this buttons doesn't have any dub items",
   "sub": []
  },
  {
   "name": "btn_Actor",
   "caption": "Actor Module",
   "tooltip": "Show the Actor module",
   "enabled_state": "Enabled",
   "action": "Modules\\ActorModule",
   "_display_scenario_comment": "diplay this DQMH Module in the UI Manager",
   "display_scenario": "Managed",
   "_sub_comment": "define sub items of the button"
   "sub": [
    {
     "name": "lb_actorstate",
     "tooltip": "Actor State",
     "_enabled_state_comment": "this subitems can not be clicked on"
     "enabled_state": "Disabled",
     "content": [
      "Display Value 1/3",
      "Display Value 2/3",
      "Display Value 3/3"
     ],
     "_reatin_value_comment": "Highlight the subitem when clicked. Does not have an effect here, because sub items are disbabled)"
     "retain value":true
    }
   ]
  },
  {
   "name": "btn_Action",
   "caption": "Actor Module Actions",
   "tooltip": "Trigger actions in Actor Module",
   "enabled_state": "Enabled",
   "action": "triggerAction",
   "_display_scenario_comment": "do not request the module to display itself",
   "display_scenario": "None",
   "_sub_comment": "define sub items of the button"
   "sub": [
    {
     "name": "lb_actoractions",
     "tooltip": "Available Actions",
     "_enabled_state_comment": "this subitems can be clicked on"
     "enabled_state": "Enabled",
     "content": [
      "Reset Timer",
      "Enable Timeout Event",
      "Disable Timeout Event",
      "Register for Broadcasts",
      "Unregister from Broadcasts"
     ],
     "_retain_value_comment": "do not highlight when clicked, so that the same action can be triggered again"
     "retain value":false
    }
   ]
  }
 ]
}
code/dqmh/hse-application-template/navigation.txt · Last modified: 2021/02/22 10:04 by alexander.elbert