dl::widget::DataBankPropertiesWidget
dl::widget::DataBankPropertiesWidget
Properties panel widget for capturing frames into the session DataBank. More…
#include <DataBankPropertiesWidget.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | dataBankChanged() Emitted after a successful capture or when bank contents change. |
Public Functions
| Name | |
|---|---|
| DataBankPropertiesWidget(QWidget * parent =[nullptr]) | |
| ~DataBankPropertiesWidget() override | |
| void | setAssembler(SlotAssembler * assembler) Connect to the session SlotAssembler used for capture. |
| void | setDataManager(std::shared_ptr< DataManager > dm) Bind the DataManager used to populate the data-source combo. |
| void | setStaticSlots(std::vector< dl::TensorSlotDescriptor > const & static_slot_list) Update the list of static input slots available for capture. |
| void | setModelReady(bool ready) Enable or disable capture based on model weights readiness. |
| void | setCurrentFrame(int frame) Set the frame index used when capturing. |
| void | refreshDataSources() Re-populate the data-source combo from DataManager. |
| void | refreshCaptureStatus() Refresh capture status for the currently selected entry ID. |
Detailed Description
class dl::widget::DataBankPropertiesWidget;Properties panel widget for capturing frames into the session DataBank.
Note: Not thread-safe — GUI thread only.
Provides target slot selection, optional memory index, DataManager source picker, and a capture button. Entry IDs default to {slot_name}_{memory_index}.
Public Signals Documentation
signal dataBankChanged
void dataBankChanged()Emitted after a successful capture or when bank contents change.
Public Functions Documentation
function DataBankPropertiesWidget
explicit DataBankPropertiesWidget(
QWidget * parent =nullptr
)function ~DataBankPropertiesWidget
~DataBankPropertiesWidget() overridefunction setAssembler
void setAssembler(
SlotAssembler * assembler
)Connect to the session SlotAssembler used for capture.
Parameters:
- assembler Non-owning pointer; must outlive this widget.
function setDataManager
void setDataManager(
std::shared_ptr< DataManager > dm
)Bind the DataManager used to populate the data-source combo.
function setStaticSlots
void setStaticSlots(
std::vector< dl::TensorSlotDescriptor > const & static_slot_list
)Update the list of static input slots available for capture.
function setModelReady
void setModelReady(
bool ready
)Enable or disable capture based on model weights readiness.
function setCurrentFrame
void setCurrentFrame(
int frame
)Set the frame index used when capturing.
function refreshDataSources
void refreshDataSources()Re-populate the data-source combo from DataManager.
function refreshCaptureStatus
void refreshCaptureStatus()Refresh capture status for the currently selected entry ID.
Updated on 2026-11-13 at 20:25:42 +0000