DeepLearningPropertiesWidget
DeepLearningPropertiesWidget
#include <DeepLearningPropertiesWidget.hpp>
Inherits from QWidget
Public Slots
| Name | |
|---|---|
| void | onTimeChanged(TimePosition const & position) Handle time changes from EditorRegistry. |
Public Signals
| Name | |
|---|---|
| void | dataBankChanged() Emitted when the DataBank changes (capture/clear). |
| void | recurrentProgressChanged(int current, int total) Emitted during recurrent inference to report progress. |
| void | batchProgressChanged(int current, int total) Emitted during batch inference to report progress. |
Public Functions
| Name | |
|---|---|
| DeepLearningPropertiesWidget(std::shared_ptr< DeepLearningState > state, std::shared_ptr< DataManager > data_manager, QWidget * parent =[nullptr]) | |
| ~DeepLearningPropertiesWidget() override | |
| SlotAssembler * | assembler() const Non-owning access to the SlotAssembler for cache preview queries. |
| void | setKeymapManager(KeymapSystem::KeymapManager * manager) Register the KeyActionAdapter with the keymap manager. |
| void | setEditorRegistry(EditorRegistry * registry) Connect to the editor registry for Media processing option lookup. |
Public Slots Documentation
slot onTimeChanged
void onTimeChanged(
TimePosition const & position
)Handle time changes from EditorRegistry.
Parameters:
- position The new TimePosition
Updates the current time position for the “Predict Current Frame” feature.
Public Signals Documentation
signal dataBankChanged
void dataBankChanged()Emitted when the DataBank changes (capture/clear).
signal recurrentProgressChanged
void recurrentProgressChanged(
int current,
int total
)Emitted during recurrent inference to report progress.
Parameters:
- current 0-based frame being processed
- total Total number of frames to process
signal batchProgressChanged
void batchProgressChanged(
int current,
int total
)Emitted during batch inference to report progress.
Parameters:
- current 0-based index of the frame being processed
- total Total number of frames to process
Public Functions Documentation
function DeepLearningPropertiesWidget
explicit DeepLearningPropertiesWidget(
std::shared_ptr< DeepLearningState > state,
std::shared_ptr< DataManager > data_manager,
QWidget * parent =nullptr
)function ~DeepLearningPropertiesWidget
~DeepLearningPropertiesWidget() overridefunction assembler
SlotAssembler * assembler() constNon-owning access to the SlotAssembler for cache preview queries.
function setKeymapManager
void setKeymapManager(
KeymapSystem::KeymapManager * manager
)Register the KeyActionAdapter with the keymap manager.
Parameters:
- manager Non-owning pointer to KeymapManager (must outlive this widget).
Wires up the “deep_learning.predict_current” action so the Ctrl+R shortcut fires even when this widget does not have focus.
function setEditorRegistry
void setEditorRegistry(
EditorRegistry * registry
)Connect to the editor registry for Media processing option lookup.
Parameters:
- registry Non-owning; used to read MediaWidgetState display options.
Updated on 2026-11-13 at 20:25:41 +0000