15 #ifndef BORNAGAIN_GUI2_LAYEREDITOR_LAYERSELECTIONMODEL_H
16 #define BORNAGAIN_GUI2_LAYEREDITOR_LAYERSELECTIONMODEL_H
18 #include "darefl_export.h"
19 #include <QItemSelectionModel>
29 class LayerEditorActions;
40 void selectItems(std::vector<ModelView::SessionItem*> items);
42 bool firstSelected()
const;
43 bool lastSelected()
const;
45 std::vector<ModelView::SessionItem*> selectedItems()
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 layer view model (AbstractViewModel).
~LayerSelectionModel()=default
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.