MediaWidgetModule
MediaWidgetModule
Functions
| Name | |
|---|---|
| void | registerGroupActions(KeymapSystem::KeymapManager * keymap_manager) Register the 9 group-assignment keyboard actions with the keymap manager. |
| void | registerToolActions(KeymapSystem::KeymapManager * keymap_manager) Register Media Viewer tool and pen-option keyboard actions with the keymap manager. |
| void | registerTypes(EditorRegistry * registry, const std::shared_ptr< DataManager > & data_manager, GroupManager * group_manager =[nullptr], KeymapSystem::KeymapManager * keymap_manager =[nullptr]) Register all Media Widget editor types with the registry. |
Functions Documentation
function registerGroupActions
static void registerGroupActions(
KeymapSystem::KeymapManager * keymap_manager
)Register the 9 group-assignment keyboard actions with the keymap manager.
function registerToolActions
static void registerToolActions(
KeymapSystem::KeymapManager * keymap_manager
)Register Media Viewer tool and pen-option keyboard actions with the keymap manager.
function registerTypes
void registerTypes(
EditorRegistry * registry,
const std::shared_ptr< DataManager > & data_manager,
GroupManager * group_manager =nullptr,
KeymapSystem::KeymapManager * keymap_manager =nullptr
)Register all Media Widget editor types with the registry.
Parameters:
- registry The EditorRegistry to register types with
- data_manager Shared DataManager for widget construction
- group_manager Optional GroupManager for group-aware features (can be nullptr)
- keymap_manager Optional KeymapManager for registering keyboard shortcuts (can be nullptr)
This function registers the MediaWidget type, including:
- State factory: Creates MediaWidgetState
- View factory: Creates the view widget (future: MediaViewWidget)
- Properties factory: Creates the properties widget (future: MediaPropertiesWidget)
Currently, the Media Widget uses a custom factory function because the properties widget needs a reference to Media_Window owned by the view.
Updated on 2026-11-13 at 20:25:42 +0000