PythonWidgetModule
PythonWidgetModule
Functions
| Name | |
|---|---|
| void | registerTypes(EditorRegistry * registry, std::shared_ptr< DataManager > data_manager, StateManagement::AppPreferences * preferences =[nullptr]) Register Python Widget editor type with the registry. |
Functions Documentation
function registerTypes
void registerTypes(
EditorRegistry * registry,
std::shared_ptr< DataManager > data_manager,
StateManagement::AppPreferences * preferences =nullptr
)Register Python Widget editor type with the registry.
Parameters:
- registry The EditorRegistry to register types with
- data_manager Shared DataManager for widget construction
- preferences Application preferences (for python env search paths)
Registers the PythonWidget type, including:
- State factory: Creates PythonWidgetState
- View factory: Creates PythonViewWidget
- Properties factory: Creates PythonPropertiesWidget
Updated on 2026-11-13 at 20:25:41 +0000