15 #ifndef BORNAGAIN_GUI2_IMPORTDATAVIEW_DATASELECTIONMODEL_H
16 #define BORNAGAIN_GUI2_IMPORTDATAVIEW_DATASELECTIONMODEL_H
18 #include "darefl_export.h"
19 #include <QItemSelectionModel>
42 void selectItems(std::vector<ModelView::SessionItem*> items);
44 std::vector<ModelView::SessionItem*> selectedItems()
const;
51 std::vector<CanvasItem*> selectedCanvas()
const;
53 std::vector<ModelView::GraphItem*> selectedGraphs()
const;
One-dimensional graph representation of Data1DItem.
The main object representing an editable/displayable/serializable entity.
Main class to represent content of SessionModel in Qt's trees and tables.
Holds a collection of GraphItem's for simultaneous plotting, as well as all information related to pl...
Custom selection model for data view model (AbstractViewModel).
~DataSelectionModel()=default
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.