forked from ctrl_packages/epics_launcher
76 lines
2.2 KiB
JSON
76 lines
2.2 KiB
JSON
{
|
|
"menu-title": {
|
|
"text": "This is menu title",
|
|
"theme": "green",
|
|
"style": "color: #000000"
|
|
},
|
|
"file-choice": [
|
|
|
|
{"text": "SUB-MENU2", "file": "/Users/ebner/Git/pylauncher/examples/menus2/menu_example.json"},
|
|
{"text": "SUB-MENU", "file": "menu_2.json"}
|
|
],
|
|
"menu": [
|
|
{
|
|
"type": "title",
|
|
"text": "Title 1 - default style"
|
|
},
|
|
{
|
|
"type": "menu",
|
|
"text": "This is sub-menu -default style",
|
|
"file": "menu_2.json",
|
|
"tip": "Menu tip.",
|
|
"help-link": "http://www.link.com/to/help"
|
|
},
|
|
{
|
|
"type": "cmd",
|
|
"text": "This is command-default style",
|
|
"command": "xeyes",
|
|
"tip": "Opens xeyes."
|
|
},
|
|
{
|
|
"type": "separator"
|
|
},
|
|
{
|
|
"type": "title",
|
|
"text": "Title 2 - changed style",
|
|
"style":"color: #ff0000"
|
|
},
|
|
{
|
|
"type": "caqtdm",
|
|
"text": "This is caQtDM screen - changed style",
|
|
"panel": "MY-SCREEN.ui",
|
|
"macros": "MACRO1=M1,MACRO2=M2",
|
|
"param": "-attach -dg +250+250",
|
|
"help-link": "http://www.link.com/to/help",
|
|
"theme": "green",
|
|
"style": "color: #333333"
|
|
},
|
|
{
|
|
"type": "medm",
|
|
"text": "This is medm screen - changed style",
|
|
"panel": "MY-SCREEN.adl",
|
|
"macros": "MACRO1=M1,MACRO2=M2",
|
|
"param": "-attach -dg +250+400",
|
|
"help-link": "http://www.link.com/to/help",
|
|
"theme": "green",
|
|
"style": "color: #333333"
|
|
},
|
|
{
|
|
"type": "pep",
|
|
"text": "This is pep panel from .prc file",
|
|
"panel": "MY-PEP.prc",
|
|
"help-link": "http://www.link.com/to/help",
|
|
"theme": "green",
|
|
"style": "color: #333333"
|
|
},
|
|
{
|
|
"type": "pep",
|
|
"text": "This is pep panel defined in shell",
|
|
"param": "-ws TEST-PV1 -fr TEST-PV2",
|
|
"help-link": "http://www.link.com/to/help",
|
|
"theme": "green",
|
|
"style": "color: #333333"
|
|
}
|
|
]
|
|
}
|