15 #ifndef BORNAGAIN_GUI2_WELCOMEVIEW_PROJECTHANDLER_H
16 #define BORNAGAIN_GUI2_WELCOMEVIEW_PROJECTHANDLER_H
18 #include "darefl_export.h"
26 class ProjectManagerInterface;
31 class RecentProjectSettings;
34 class RecentProjectWidget;
52 bool canCloseProject()
const;
53 void onCreateNewProject();
54 void onOpenExistingProject(
const QString& dirname = {});
55 void onSaveCurrentProject();
56 void onSaveProjectAs();
58 void clearRecentProjectsList();
61 void initProjectManager();
62 void updateCurrentProjectName();
63 void updateRecentProjectNames();
Main class to holds all models of GUI session.
Main class to coordinate all activity on user's request to create new project, open existing one,...
std::unique_ptr< ModelView::ProjectManagerInterface > m_projectManager
void recentProjectsListModified(const QStringList &projects)
std::unique_ptr< RecentProjectSettings > m_recentProjectSettings
~ProjectHandler() override
std::unique_ptr< UserInteractor > m_userInteractor
void currentProjectModified(const QString &project_dir, bool is_modified)
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.