23 std::unique_ptr<ItemCatalogue> CreateItemCatalogue()
25 auto result = std::make_unique<ModelView::ItemCatalogue>();
41 setItemCatalogue(CreateItemCatalogue());
42 insertItem<SpecularInstrumentItem>();
InstrumentModel(QObject *parent=nullptr)
void registerItem(const std::string &text, bool make_selected=false)
Main class to hold hierarchy of SessionItem objects.
Represents scan according to imported experimental data.
Represents Q-space specular scan with fixed bin size.
Represents specular beam, contains settings of scan parameters.
Represents specular instrument.
Represent selection of possible specular scans.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.