8.5.1.1. pymodaq_gui.examples.action_manager_example module
Action Manager Menu and Toolbar Example
Demonstrates the menu and toolbar capabilities of ActionManager including: - Creating submenus within submenus (multiple levels) - Adding actions to nested submenus - Creating and managing multiple toolbars - Adding actions to both menus and toolbars - Using icons for both actions and submenus - Shared actions across menus and toolbars
- class pymodaq_gui.examples.action_manager_example.ActionManagerExample[source]
Bases:
QMainWindow,ActionManagerExample application demonstrating nested menus and multiple toolbars with ActionManager
Methods
log_message(message)Add message to status display
on_action_triggered(action_name)Handle action triggered - display action info
Create nested menu structure with actions and multiple toolbars