Loading...
Searching...
No Matches
score-plugin-js/JS/ApplicationPlugin.hpp
1#pragma once
2#include <score/plugins/application/GUIApplicationPlugin.hpp>
3
4#include <core/application/ApplicationSettings.hpp>
5
6#include <QFileInfo>
7#include <QQmlComponent>
8#include <QQmlContext>
9#include <QQmlEngine>
10
11class QQuickWindow;
12namespace JS
13{
15 : public QObject
17{
18public:
20
21 ~ApplicationPlugin() override;
22 void afterStartup() override;
23
24 QQmlEngine m_engine;
25 QQmlComponent* m_comp{};
26 QQuickWindow* m_window{};
27};
28}
Definition score-plugin-js/JS/ApplicationPlugin.hpp:17
void afterStartup() override
afterStartup Called after all the documents have been created / loaded
Definition score-plugin-js/JS/ApplicationPlugin.cpp:25
Used to extend the software with application-wide data.
Definition GUIApplicationPlugin.hpp:89
Specializes ApplicationContext with the QMainWindow.
Definition GUIApplicationContext.hpp:15