This class represents the module selection menu.
More...
|
def | __init__ (self, modules) |
| Create new menu from module tree. More...
|
|
def | build_submenu (self, menu_item, modpath, module) |
| Create a submenu from a module list, a module path and a module definition. More...
|
|
def | hasModule (self, modpath) |
| Return whther module with given path is present. More...
|
|
def | getModule (self, modpath) |
| Get module corresponding to module path. More...
|
|
|
| modules |
|
| hwmenu |
|
| logicmenu |
|
| guimenu |
|
| hwmenuitems |
|
| logicmenuitems |
|
| guimenuitems |
|
This class represents the module selection menu.
◆ __init__()
def config_gui.menu.ModMenu.__init__ |
( |
|
self, |
|
|
|
modules |
|
) |
| |
Create new menu from module tree.
- Parameters
-
◆ build_submenu()
def config_gui.menu.ModMenu.build_submenu |
( |
|
self, |
|
|
|
menu_item, |
|
|
|
modpath, |
|
|
|
module |
|
) |
| |
Create a submenu from a module list, a module path and a module definition.
- Parameters
-
dict | mlist: module list dict |
str | modpath: Qudi module path |
dict | moddef: module definition dict |
◆ getModule()
def config_gui.menu.ModMenu.getModule |
( |
|
self, |
|
|
|
modpath |
|
) |
| |
Get module corresponding to module path.
str modpath: Qudi module path
- Returns
- ModuleObject: module object
◆ hasModule()
def config_gui.menu.ModMenu.hasModule |
( |
|
self, |
|
|
|
modpath |
|
) |
| |
Return whther module with given path is present.
- Parameters
-
str | modpath: Qudi module path |
- Returns
- bool: wether a module has the given path
The documentation for this class was generated from the following file: