Skip to main content

DataTransform_Widget

DataTransform_Widget

#include <DataTransform_Widget.hpp>

Inherits from QScrollArea, DataFocusAware

Public Signals

Name
void pipelineExecuted(QString const & pipeline_json)
Emitted when a JSON pipeline is successfully executed.

Public Functions

Name
DataTransform_Widget(std::shared_ptr< DataManager > data_manager, EditorRegistry * editor_registry =[nullptr], QWidget * parent =[nullptr])
Construct DataTransform_Widget.
~DataTransform_Widget() override
void openWidget()
virtual void onDataFocusChanged(EditorLib::SelectedDataKey const & data_key, QString const & data_type) override
Handle data focus changes from SelectionContext.
QSize sizeHint() const override
QSize minimumSizeHint() const override

Protected Functions

Name
void resizeEvent(QResizeEvent * event) override

Additional inherited members

Public Functions inherited from DataFocusAware

Name
virtual ~DataFocusAware() =default

Protected Functions inherited from DataFocusAware

Name
template <typename Receiver >
void
connectToSelectionContext(SelectionContext * ctx, Receiver * receiver)
Helper to connect this widget to SelectionContext.

Public Signals Documentation

signal pipelineExecuted

void pipelineExecuted(
    QString const & pipeline_json
)

Emitted when a JSON pipeline is successfully executed.

Parameters:

  • pipeline_json The JSON content of the executed pipeline

Public Functions Documentation

function DataTransform_Widget

DataTransform_Widget(
    std::shared_ptr< DataManager > data_manager,
    EditorRegistry * editor_registry =nullptr,
    QWidget * parent =nullptr
)

Construct DataTransform_Widget.

Parameters:

function ~DataTransform_Widget

~DataTransform_Widget() override

function openWidget

void openWidget()

function onDataFocusChanged

virtual void onDataFocusChanged(
    EditorLib::SelectedDataKey const & data_key,
    QString const & data_type
) override

Handle data focus changes from SelectionContext.

Parameters:

  • data_key The newly focused data key
  • data_type The type of the focused data (e.g., “LineData”, “MaskData”)

Reimplements: DataFocusAware::onDataFocusChanged

This is the Phase 4.2 implementation of passive awareness. When data is focused in another widget (e.g., DataManager_Widget), this method updates the transform input selection.

function sizeHint

QSize sizeHint() const override

function minimumSizeHint

QSize minimumSizeHint() const override

Protected Functions Documentation

function resizeEvent

void resizeEvent(
    QResizeEvent * event
) override

Updated on 2026-11-13 at 20:25:41 +0000