11#include <QQmlApplicationEngine>
13#include <QWeakPointer>
41 const QWeakPointer<ModelStorage>& storage()
const;
51 QQmlApplicationEngine * engine()
const;
59 virtual void initStorage(
const QWeakPointer<ModelStorage>& newStorage);
63 QWeakPointer<ModelStorage> m_storage;
The ModelStorage class main model storage object. Provide access to all models in the application.
The iModel class is base model for GUI models. Works with ModelStorage. All models after adding can g...
virtual QString modelId() const =0
modelId returns text model id. override this method to provide access to model in qml or other models...
virtual ~iModel()=default
the ViewSolutions namespace
#define VIEWSOLUTION_EXPORT