15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_SIGNALS_MODELMAPPER_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_SIGNALS_MODELMAPPER_H
45 void setActive(
bool value);
57 void callOnModelDestroyed();
58 void callOnModelAboutToBeReset();
59 void callOnModelReset();
61 struct ModelMapperImpl;
62 std::unique_ptr<ModelMapperImpl>
p_impl;
Interface to subscribe to various signals generated by SessionModel.
Provides notifications on various SessionModel changes.
std::unique_ptr< ModelMapperImpl > p_impl
ModelMapper & operator=(const ModelMapper &other)=delete
ModelMapper(const ModelMapper &other)=delete
The main object representing an editable/displayable/serializable entity.
Main class to hold hierarchy of SessionItem objects.
Aggregate to hold (tag, row) information for SessionModel.
SessionItem * parent() const
Returns parent of this item.
T * item(const QString &tag) const
std::function< void(SessionModel *)> model_t
std::function< void(SessionItem *, TagRow)> item_tagrow_t
std::function< void(SessionItem *, int)> item_int_t
materialitems.h Collection of materials to populate MaterialModel.