15 #ifndef BORNAGAIN_MVVM_VIEWMODEL_MVVM_FACTORIES_VIEWMODELCONTROLLERFACTORY_H
16 #define BORNAGAIN_MVVM_VIEWMODEL_MVVM_FACTORIES_VIEWMODELCONTROLLERFACTORY_H
19 #include "mvvm/viewmodel_export.h"
26 class ViewModelController;
32 template <
typename ChildrenStrategy,
typename RowStrategy>
Main class to hold hierarchy of SessionItem objects.
Base class for all view models to show content of SessionModel in Qt views.
Builder class for ViewModelController.
self & childrenStrategy(std::unique_ptr< ChildrenStrategyInterface > children_strategy)
self & viewModel(ViewModelBase *view_model)
self & rowStrategy(std::unique_ptr< RowStrategyInterface > row_strategy)
self & model(SessionModel *model)
std::unique_ptr< ViewModelController > CreateController(SessionModel *session_model, ViewModelBase *view_model)
Create universal controller.
materialitems.h Collection of materials to populate MaterialModel.