15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_DEFAULTCELLDECORATOR_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_VIEWMODEL_DEFAULTCELLDECORATOR_H
27 bool hasCustomDecoration(
const QModelIndex& index)
const override;
28 void initStyleOption(QStyleOptionViewItem* option,
const QModelIndex& index)
override;
31 virtual std::optional<std::string> cellText(
const QModelIndex& index)
const;
Interface class to generate cell decorations (i.e. text) in Qt trees and tables.
Generates default cell decorations for Qt trees and tables.
materialitems.h Collection of materials to populate MaterialModel.