DataInspectorPropertiesWidget
DataInspectorPropertiesWidget
Properties panel for inspecting data items. More…
#include <DataInspectorPropertiesWidget.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | frameSelected(TimePosition position) Emitted when a frame is selected in the inspector. |
Public Functions
| Name | |
|---|---|
| DataInspectorPropertiesWidget(std::shared_ptr< DataManager > data_manager, GroupManager * group_manager =[nullptr], QWidget * parent =[nullptr]) Construct the properties widget. |
|
| ~DataInspectorPropertiesWidget() override | |
| void | setState(std::shared_ptr< DataInspectorState > state) Set the state object for this widget. |
| std::shared_ptr< DataInspectorState > | state() const Get the current state. |
| void | setSelectionContext(SelectionContext * context) Set the SelectionContext for responding to selection changes. |
| void | setOperationContext(EditorLib::OperationContext * context) Set the OperationContext for inter-widget pipeline requests. |
| void | setPipelineLibraryConfigDir(QString const & config_dir) Set the application config directory for the TransformsV2 pipeline library. |
| void | setCommandRecorder(commands::CommandRecorder * recorder) Set the CommandRecorder for recording command executions. |
| void | inspectData(QString const & key) Directly set the data key to inspect (bypasses SelectionContext). |
| void | inspectTimeFrame(QString const & key) Directly set the TimeFrame key to inspect (bypasses SelectionContext). |
| void | setViewWidget(DataInspectorViewWidget * view_widget) Set the view widget to connect inspectors to views. |
| void | setKeymapManager(KeymapSystem::KeymapManager * manager) Set the keymap manager so it can be forwarded to type-specific inspectors. |
Detailed Description
class DataInspectorPropertiesWidget;Properties panel for inspecting data items.
This widget displays controls and properties for inspecting a data item. When unpinned, it responds to SelectionContext changes. When pinned, it maintains its current data key regardless of selection.
Public Signals Documentation
signal frameSelected
void frameSelected(
TimePosition position
)Emitted when a frame is selected in the inspector.
Parameters:
- position Time position to navigate to
Public Functions Documentation
function DataInspectorPropertiesWidget
explicit DataInspectorPropertiesWidget(
std::shared_ptr< DataManager > data_manager,
GroupManager * group_manager =nullptr,
QWidget * parent =nullptr
)Construct the properties widget.
Parameters:
- data_manager Shared DataManager for data access
- group_manager Optional GroupManager for group-aware features
- parent Parent widget
function ~DataInspectorPropertiesWidget
~DataInspectorPropertiesWidget() overridefunction setState
void setState(
std::shared_ptr< DataInspectorState > state
)Set the state object for this widget.
Parameters:
- state Shared state (also used by DataInspectorViewWidget)
function state
inline std::shared_ptr< DataInspectorState > state() constGet the current state.
Return: State object, or nullptr if not set
function setSelectionContext
void setSelectionContext(
SelectionContext * context
)Set the SelectionContext for responding to selection changes.
Parameters:
- context SelectionContext (typically from EditorRegistry)
function setOperationContext
void setOperationContext(
EditorLib::OperationContext * context
)Set the OperationContext for inter-widget pipeline requests.
Parameters:
- context OperationContext instance (can be nullptr)
function setPipelineLibraryConfigDir
void setPipelineLibraryConfigDir(
QString const & config_dir
)Set the application config directory for the TransformsV2 pipeline library.
Parameters:
- config_dir StateManager::configDir() (used to resolve pipelines/transforms_v2/)
function setCommandRecorder
void setCommandRecorder(
commands::CommandRecorder * recorder
)Set the CommandRecorder for recording command executions.
Parameters:
- recorder Non-owning pointer to the CommandRecorder (can be nullptr)
The recorder is forwarded to child inspector widgets so they can route commands through executeSequence() for recording.
function inspectData
void inspectData(
QString const & key
)Directly set the data key to inspect (bypasses SelectionContext).
Parameters:
- key Data key in DataManager
function inspectTimeFrame
void inspectTimeFrame(
QString const & key
)Directly set the TimeFrame key to inspect (bypasses SelectionContext).
Parameters:
- key TimeFrame key in DataManager
function setViewWidget
void setViewWidget(
DataInspectorViewWidget * view_widget
)Set the view widget to connect inspectors to views.
Parameters:
- view_widget The view widget (can be nullptr)
This allows inspectors that need selection from views to connect to them.
function setKeymapManager
void setKeymapManager(
KeymapSystem::KeymapManager * manager
)Set the keymap manager so it can be forwarded to type-specific inspectors.
Parameters:
- manager Non-owning pointer to the KeymapManager (can be nullptr)
Updated on 2026-11-13 at 20:25:41 +0000