StepConfigPanel
StepConfigPanel
Configuration panel for a single transform step’s parameters. More…
#include <StepConfigPanel.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | parametersChanged(std::string const & params_json) Emitted when any parameter value changes. |
| void | additionalInputChanged(std::string const & additional_input_key) Emitted when the second input key selection changes. |
Public Functions
| Name | |
|---|---|
| StepConfigPanel(QWidget * parent =[nullptr]) | |
| ~StepConfigPanel() override | |
| void | showStepConfig(std::string const & transform_name, std::string const & params_json, MultiInputStepContext const & multi_input ={}) Show the configuration for a specific transform step. |
| void | clearConfig() Clear the panel (no step selected). |
| std::string | currentParamsJson() const Get the current parameters as a JSON string. |
| std::string | currentTransformName() const Get the name of the currently displayed transform. |
Detailed Description
class StepConfigPanel;Configuration panel for a single transform step’s parameters.
Looks up the parameter schema from ElementRegistry and displays either:
- A custom widget (from ParamWidgetRegistry), or
- An auto-generated form (from AutoParamWidget)
Provides bidirectional JSON sync for the step’s parameters.
Public Signals Documentation
signal parametersChanged
void parametersChanged(
std::string const & params_json
)Emitted when any parameter value changes.
Parameters:
- params_json Updated parameters as JSON
signal additionalInputChanged
void additionalInputChanged(
std::string const & additional_input_key
)Emitted when the second input key selection changes.
Parameters:
- additional_input_key Selected DataManager key, or empty if cleared
Public Functions Documentation
function StepConfigPanel
explicit StepConfigPanel(
QWidget * parent =nullptr
)function ~StepConfigPanel
~StepConfigPanel() overridefunction showStepConfig
void showStepConfig(
std::string const & transform_name,
std::string const & params_json,
MultiInputStepContext const & multi_input ={}
)Show the configuration for a specific transform step.
Parameters:
- transform_name The registered transform name
- params_json Existing parameters as JSON to populate the form
- multi_input Optional second-input configuration context
function clearConfig
void clearConfig()Clear the panel (no step selected).
function currentParamsJson
std::string currentParamsJson() constGet the current parameters as a JSON string.
Return: JSON string of current parameter values
function currentTransformName
inline std::string currentTransformName() constGet the name of the currently displayed transform.
Updated on 2026-11-13 at 20:25:39 +0000