App Class
class ScreenPlay::AppThe App class contains all members for ScreenPlay. More...
Header: | #include <App> |
Public Functions
ScreenPlay::Create * | create() const |
ScreenPlay::GlobalVariables * | globalVariables() const |
void | init() |
ScreenPlay::InstalledListFilter * | installedListFilter() const |
ScreenPlay::InstalledListModel * | installedListModel() const |
QQmlApplicationEngine * | mainWindowEngine() const |
ScreenPlay::MonitorListModel * | monitorListModel() const |
ScreenPlay::ProfileListModel * | profileListModel() const |
ScreenPlay::ScreenPlayManager * | screenPlayManager() const |
ScreenPlay::SDKConnector * | sdkConnector() const |
ScreenPlay::Settings * | settings() const |
ScreenPlay::Util * | util() const |
Public Slots
void | exit() |
void | setCreate(ScreenPlay::Create *create) |
void | setGlobalVariables(ScreenPlay::GlobalVariables *globalVariables) |
void | setInstalledListFilter(ScreenPlay::InstalledListFilter *installedListFilter) |
void | setInstalledListModel(ScreenPlay::InstalledListModel *installedListModel) |
void | setMainWindowEngine(QQmlApplicationEngine *mainWindowEngine) |
void | setMonitorListModel(ScreenPlay::MonitorListModel *monitorListModel) |
void | setProfileListModel(ScreenPlay::ProfileListModel *profileListModel) |
void | setScreenPlayManager(ScreenPlay::ScreenPlayManager *screenPlayManager) |
void | setSdkConnector(ScreenPlay::SDKConnector *sdkConnector) |
void | setSettings(ScreenPlay::Settings *settings) |
void | setUtil(ScreenPlay::Util *util) |
Signals
void | createChanged(ScreenPlay::Create *create) |
void | globalVariablesChanged(ScreenPlay::GlobalVariables *globalVariables) |
void | installedListFilterChanged(ScreenPlay::InstalledListFilter *installedListFilter) |
void | installedListModelChanged(ScreenPlay::InstalledListModel *installedListModel) |
void | mainWindowEngineChanged(QQmlApplicationEngine *mainWindowEngine) |
void | monitorListModelChanged(ScreenPlay::MonitorListModel *monitorListModel) |
void | profileListModelChanged(ScreenPlay::ProfileListModel *profileListModel) |
void | screenPlayManagerChanged(ScreenPlay::ScreenPlayManager *screenPlayManager) |
void | sdkConnectorChanged(ScreenPlay::SDKConnector *sdkConnector) |
void | settingsChanged(ScreenPlay::Settings *settings) |
void | utilChanged(ScreenPlay::Util *util) |
Detailed Description
graph TD
Main.cpp --> App
App --> QQmlApplicationEngine
App --> GlobalVariables
App --> ScreenPlayManager
ScreenPlayManager --> ScreenPlayWallpaper
ScreenPlayManager --> ScreenPlayWidget
App --> Create
Create--> CreateVideoImport
App --> Util
App --> Settings
App --> SDKConnector
App --> InstalledListModel
InstalledListModel --> ProjectFile
App --> InstalledListFilter
App --> MonitorListModel
MonitorListModel --> Monitor
App --> ProfileListModel
ProfileListModel --> Profile
Member Function Documentation
[slot]
void App::exit()
Tries to send the telemetry quit event before we call quit ourself.
void App::init()
Used for initialization after the constructor. The sole purpose is to check if another ScreenPlay instance is running and then quit early. This is also because we cannot call QApplication::quit(); in the SDKConnector before the app.exec(); ( the Qt main event loop ) has started.