58 auto recentFiles()
const {
return m_recentFiles; }
63 template <
typename... Args>
66 prepareNewDocument(ctx);
67 return setupDocument(ctx, m_builder.newDocument(ctx, std::forward<Args>(args)...));
70 template <
typename... Args>
73 closeVirginDocument(ctx);
74 prepareNewDocument(ctx);
75 return setupDocument(ctx, m_builder.loadDocument(ctx, std::forward<Args>(args)...));
78 template <
typename... Args>
81 prepareNewDocument(ctx);
82 setupDocument(ctx, m_builder.restoreDocument(ctx, std::forward<Args>(args)...));
107 bool preparingNewDocument()
const;
118 E_SIGNAL(SCORE_LIB_BASE_EXPORT, documentChanged, arg_1)
124 static bool updateJson(
127 void saveRecentFilesState();
133 QPointer<QRecentFilesMenu> m_recentFiles{};
135 bool m_preparingNewDocument{};
Specializes ApplicationContext with the QMainWindow.
Definition GUIApplicationContext.hpp:15