15 #ifndef BORNAGAIN_GUI2_MODEL_MATERIALMODEL_H
16 #define BORNAGAIN_GUI2_MODEL_MATERIALMODEL_H
18 #include "darefl_export.h"
29 class MaterialBaseItem;
30 class MaterialContainerItem;
31 class SLDMaterialItem;
37 MaterialModel(std::shared_ptr<ModelView::ItemPool> pool = {});
39 std::vector<ModelView::ExternalProperty>
40 material_data(std::string container_id = std::string())
const;
The ExternalProperty class defines custom QVariant property to carry the text, color and an identifie...
Property to carry text, color and identifier.
Main class to hold hierarchy of SessionItem objects.
Aggregate to hold (tag, row) information for SessionModel.
Base class with all materials with name and color defined.
Container to hold MaterialItems.
Model to hold MaterialItems.
Represents material based on scattering length density.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.