Loading...
Searching...
No Matches
ApplicationSettings.hpp
1#pragma once
2#include <score/tools/Version.hpp>
3
4#include <QStringList>
5
6#include <score_lib_base_export.h>
7namespace score
8{
16struct SCORE_LIB_BASE_EXPORT ApplicationSettings
17{
19 bool tryToRestore = true;
20
22 bool forceRestore = false;
23
25 bool gui = true;
26
28 bool opengl = true;
29
31 bool autoplay = false;
32
34 bool vector_gui = true;
35
37 score::Version saveFormatVersion{4};
38
40 QStringList loadList;
41
43 QString ui;
44
46 int waitAfterLoad = 0;
47
49 QStringList arguments;
50
52 int uiEventRate = 64;
53
55 void parse(QStringList args, int& argc, char** argv);
56};
57
58SCORE_LIB_BASE_EXPORT
59void setQApplicationMetadata();
60}
Represents the version of a plug-in.
Definition Version.hpp:13
Base toolkit upon which the software is built.
Definition Application.cpp:113
Load-time settings.
Definition ApplicationSettings.hpp:17
QString ui
UI file to be loaded.
Definition ApplicationSettings.hpp:43
QStringList arguments
Complete list of arguments passed to parse.
Definition ApplicationSettings.hpp:49
QStringList loadList
List of scenarios that should be loaded.
Definition ApplicationSettings.hpp:40