GuidedPipelineEditor
GuidedPipelineEditor
Visual editor for building a CommandSequenceDescriptor. More…
#include <GuidedPipelineEditor.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | pipelineChanged() Emitted when any command is added, removed, reordered, or has params changed. |
Public Functions
| Name | |
|---|---|
| GuidedPipelineEditor(QWidget * parent =[nullptr]) | |
| commands::CommandSequenceDescriptor | toSequence() const Build a CommandSequenceDescriptor from current UI state. |
| void | fromSequence(commands::CommandSequenceDescriptor const & seq) Populate the editor from an existing CommandSequenceDescriptor. |
| void | clear() Clear all command rows. |
| void | setDataManager(std::shared_ptr< DataManager > dm) Bind a DataManager and refresh dynamic combo fields on all rows. |
Detailed Description
class GuidedPipelineEditor;Visual editor for building a CommandSequenceDescriptor.
Displays an editable list of commands, each rendered as an expandable CommandRowWidget with an AutoParamWidget for parameter editing. Provides “Add Command…” button and reorder/remove controls.
Maintains bidirectional sync with a CommandSequenceDescriptor:
- toSequence() builds a descriptor from the current UI state
- fromSequence() populates the UI from a descriptor
Handles \({variable} references: text fields in [AutoParamWidget](/api_generated/Classes/classAutoParamWidget.md) accept both literal values and variable strings like "\){mark_frame}“.
Public Signals Documentation
signal pipelineChanged
void pipelineChanged()Emitted when any command is added, removed, reordered, or has params changed.
Public Functions Documentation
function GuidedPipelineEditor
explicit GuidedPipelineEditor(
QWidget * parent =nullptr
)function toSequence
commands::CommandSequenceDescriptor toSequence() constBuild a CommandSequenceDescriptor from current UI state.
function fromSequence
void fromSequence(
commands::CommandSequenceDescriptor const & seq
)Populate the editor from an existing CommandSequenceDescriptor.
function clear
void clear()Clear all command rows.
function setDataManager
void setDataManager(
std::shared_ptr< DataManager > dm
)Bind a DataManager and refresh dynamic combo fields on all rows.
Parameters:
- dm Shared DataManager used to populate command parameter combos
Updated on 2026-11-13 at 20:25:40 +0000