2 #include <score/application/ApplicationContext.hpp>
20 const std::vector<std::unique_ptr<score::SettingsDelegateModel>>& g,
28 auto panels()
const {
return components.panels(); }
38 return components.panel<T>();
43 return components.findPanel<T>();
60 return components.guiApplicationPlugins();
71 return components.applicationPlugin<T>();
75 T* findApplicationPlugin()
const
77 return components.findApplicationPlugin<T>();
88 return components.guiApplicationPlugin<T>();
92 T* findGuiApplicationPlugin()
const
94 return components.findGuiApplicationPlugin<T>();
97 DocumentManager& docManager;
100 ToolbarManager& toolbars;
101 ActionManager& actions;
102 QMainWindow* mainWindow{};
103 QWidget* documentTabWidget{};
106 SCORE_LIB_BASE_EXPORT
const GUIApplicationContext& GUIAppContext();
The ActionManager class.
Definition: ActionManager.hpp:19
Definition: ApplicationComponents.hpp:68
Owns the documents.
Definition: DocumentManager.hpp:49
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24
Load-time settings.
Definition: ApplicationSettings.hpp:17
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15
T & guiApplicationPlugin() const
Access a specific gui application plug-in instance.
Definition: GUIApplicationContext.hpp:86
T & applicationPlugin() const
Access a specific application plug-in instance.
Definition: GUIApplicationContext.hpp:69
const auto & applicationPlugins() const
List of all the application-wide plug-ins.
Definition: GUIApplicationContext.hpp:51
auto panels() const
List of the available GUI panels.
Definition: GUIApplicationContext.hpp:28
T & panel() const
Access to a specific PanelDelegate.
Definition: GUIApplicationContext.hpp:36
const auto & guiApplicationPlugins() const
List of all the gui application-wide plug-ins.
Definition: GUIApplicationContext.hpp:58