Loading...
Searching...
No Matches
CoreApplicationPlugin.hpp
1#pragma once
2#include <score/plugins/application/GUIApplicationPlugin.hpp>
3
4#include <core/presenter/Presenter.hpp>
5namespace score
6{
7class Presenter;
13class SCORE_LIB_BASE_EXPORT CoreApplicationPlugin final
14 : public QObject
16{
17public:
19
23 void openSettingsPage(const QString& settingsName);
24
25private:
26 Presenter& m_presenter;
27
28 void newDocument();
29
30 void load();
31 void save();
32 void saveAs();
33
34 void close();
35 void quit();
36
37 void restoreLayout();
38
39 void openSettings();
40 void help();
41 void about();
42
43 void loadStack();
44 void saveStack();
45
46 GUIElements makeGUIElements() override;
47 void openProjectSettings();
48};
49}
Base actions for the score software.
Definition CoreApplicationPlugin.hpp:16
Used to extend the software with application-wide data.
Definition GUIApplicationPlugin.hpp:97
The Presenter class.
Definition lib/core/presenter/Presenter.hpp:36
Base toolkit upon which the software is built.
Definition Application.cpp:83
Specializes ApplicationContext with the QMainWindow.
Definition GUIApplicationContext.hpp:15
What an application plug-in adds to the menus, toolbars and actions.
Definition GUIApplicationPlugin.hpp:32