15 #ifndef BORNAGAIN_GUI2_MATERIALEDITOR_MATERIALSELECTIONMODEL_H
16 #define BORNAGAIN_GUI2_MATERIALEDITOR_MATERIALSELECTIONMODEL_H
18 #include "darefl_export.h"
19 #include <QItemSelectionModel>
29 class MaterialEditorActions;
30 class MaterialBaseItem;
44 void selectItems(std::vector<ModelView::SessionItem*> items);
46 std::vector<MaterialBaseItem*> selectedMaterials()
const;
The main object representing an editable/displayable/serializable entity.
Main class to represent content of SessionModel in Qt's trees and tables.
Custom selection model for material view model (AbstractViewModel).
~MaterialSelectionModel()=default
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.