CoreApplicationPlugin.hpp
1 #pragma once
2 #include <score/plugins/application/GUIApplicationPlugin.hpp>
3 
4 #include <core/presenter/Presenter.hpp>
5 namespace score
6 {
7 class Presenter;
13 class SCORE_LIB_BASE_EXPORT CoreApplicationPlugin final
14  : public QObject
16 {
17 public:
19 
20 private:
21  Presenter& m_presenter;
22 
23  void newDocument();
24 
25  void load();
26  void save();
27  void saveAs();
28 
29  void close();
30  void quit();
31 
32  void restoreLayout();
33 
34  void openSettings();
35  void help();
36  void about();
37 
38  void loadStack();
39  void saveStack();
40 
41  GUIElements makeGUIElements() override;
42  void openProjectSettings();
43 };
44 }
Base actions for the score software.
Definition: CoreApplicationPlugin.hpp:16
Used to extend the software with application-wide data.
Definition: GUIApplicationPlugin.hpp:89
The Presenter class.
Definition: lib/core/presenter/Presenter.hpp:36
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15
Definition: GUIApplicationPlugin.hpp:24