20 #ifndef LIBREPCB_CORE_APPLICATION_H 21 #define LIBREPCB_CORE_APPLICATION_H
static const Version & getFileFormatVersion() noexcept
Get the used file format version.
Definition: application.cpp:62
The Version class represents a version number in the format "1.42.7".
Definition: version.h:58
static bool isFileFormatStable() noexcept
Check whether the used file format is stable.
Definition: application.cpp:69
static QString getGitRevision() noexcept
Get the git revision of the sources used to build the application.
Definition: application.cpp:46
static void loadBundledFonts() noexcept
Load all bundled fonts to make them available in the application.
Definition: application.cpp:202
Definition: occmodel.cpp:76
static const QFont & getDefaultMonospaceFont() noexcept
Get the default monospace font.
Definition: application.cpp:157
static QDateTime getBuildDate() noexcept
Get the date/time when the application was built.
Definition: application.cpp:50
static const FilePath & getResourcesDir() noexcept
Get the path to the resources directory.
Definition: application.cpp:73
Application & operator=(const Application &rhs)=delete
static void setTranslationLocale(const QLocale &locale) noexcept
Install all translators for a given locale.
Definition: application.cpp:215
static QString getVersion() noexcept
Get the application version.
Definition: application.cpp:42
static QString getDefaultStrokeFontName() noexcept
Get the name of the default stroke font.
Definition: application.cpp:194
static const StrokeFont & getDefaultStrokeFont() noexcept
Get the default stroke font.
Definition: application.cpp:190
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:127
static const StrokeFontPool & getStrokeFonts() noexcept
Get all globally available stroke fonts.
Definition: application.cpp:171
static QStringList getTranslationLocales() noexcept
Get all available translation locales.
Definition: application.cpp:126
The StrokeFontPool class.
Definition: strokefontpool.h:46
The StrokeFont class.
Definition: strokefont.h:54
static QString getBuildAuthor() noexcept
Get the author who has built the application.
Definition: application.cpp:58
static const QFont & getDefaultSansSerifFont() noexcept
Get the default sans serif font.
Definition: application.cpp:143
Static functions to access some global application configuration.
Definition: application.h:45