15 #ifndef BORNAGAIN_GUI2_DATALOADER_IMPORTTABLEWIDGET_H
16 #define BORNAGAIN_GUI2_DATALOADER_IMPORTTABLEWIDGET_H
18 #include "darefl_export.h"
34 class ImportTableModel;
46 void setRawData(
const std::vector<std::vector<std::string>>& table_data);
48 std::vector<ColumnInfo> columnInfo()
const;
52 QTableView* m_tableView{
nullptr};
53 std::unique_ptr<ModelView::ViewModelDelegate>
m_delegate;
Model delegate to provide editing/painting for custom variants.
Table model to hold imported ASCII data after parsing it to multi-column presentation.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.