15 #ifndef BORNAGAIN_GUI2_DATALOADER_LOADERSELECTORPANEL_H
16 #define BORNAGAIN_GUI2_DATALOADER_LOADERSELECTORPANEL_H
18 #include "darefl_export.h"
26 class ParserInterface;
27 class ImportFileWidget;
28 class ParserPropertyWidget;
40 std::unique_ptr<ParserInterface> createParser()
const;
42 void setTargetCanvas(
const QStringList& canvas_names,
int current_index);
44 int targetCanvasIndex()
const;
47 void onAddFilesRequest();
48 void onRemoveFileRequest();
49 QStringList selectedFileNames()
const;
50 QStringList fileNames()
const;
58 void init_connections();
60 int m_targetCanvasIndex{-1};
63 QSplitter* m_splitter{
nullptr};
Panel with settings for DataLoaderDialog.
void parserPropertyChanged()
void fileNamesChanged(const QStringList &file_names)
void fileSelectionChanged(const QStringList &file_names)
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.