PipelineLibraryDialog
PipelineLibraryDialog
Browse, load, save, import, export, and delete library pipeline JSON files.
#include <PipelineLibraryDialog.hpp>
Inherits from QDialog
Public Types
| Name | |
|---|---|
| using std::function< Neuralyzer::Transforms::V2::Examples::PipelineDescriptor()> | DescriptorSupplier |
Public Functions
| Name | |
|---|---|
| PipelineLibraryDialog(QString const & library_dir, QWidget * parent =[nullptr]) Construct the library dialog. |
|
| ~PipelineLibraryDialog() override | |
| void | setDescriptorSupplier(DescriptorSupplier supplier) Supply the current pipeline when saving from this dialog. |
| void | refreshCatalog() Refresh the pipeline list from disk. |
| bool | hasLoadedPipeline() const |
| std::string | loadedPipelineJson() const JSON text of the pipeline loaded by the user. |
| int | catalogEntryCount() const Number of entries currently shown (for tests). |
Public Types Documentation
using DescriptorSupplier
using PipelineLibraryDialog::DescriptorSupplier = std::function<Neuralyzer::Transforms::V2::Examples::PipelineDescriptor()>;Public Functions Documentation
function PipelineLibraryDialog
explicit PipelineLibraryDialog(
QString const & library_dir,
QWidget * parent =nullptr
)Construct the library dialog.
Parameters:
- library_dir Directory containing saved pipeline JSON files
- parent Parent widget
function ~PipelineLibraryDialog
~PipelineLibraryDialog() overridefunction setDescriptorSupplier
void setDescriptorSupplier(
DescriptorSupplier supplier
)Supply the current pipeline when saving from this dialog.
Parameters:
- supplier Callable returning the descriptor to persist
function refreshCatalog
void refreshCatalog()Refresh the pipeline list from disk.
function hasLoadedPipeline
inline bool hasLoadedPipeline() constReturn: true if the user loaded a pipeline and closed with Accept
function loadedPipelineJson
std::string loadedPipelineJson() constJSON text of the pipeline loaded by the user.
Precondition: hasLoadedPipeline()
function catalogEntryCount
int catalogEntryCount() constNumber of entries currently shown (for tests).
Updated on 2026-11-13 at 20:25:40 +0000