20#ifndef LIBREPCB_CORE_APPLICATION_H
21#define LIBREPCB_CORE_APPLICATION_H
Static functions to access some global application configuration.
Definition application.h:45
static const FilePath & getResourcesDir() noexcept
Get the path to the resources directory.
Definition application.cpp:127
static bool isFileFormatStable() noexcept
Check whether the used file format is stable.
Definition application.cpp:77
static const QFont & getDefaultSansSerifFont() noexcept
Get the default sans serif font.
Definition application.cpp:197
static const QFont & getDefaultMonospaceFont() noexcept
Get the default monospace font.
Definition application.cpp:210
static QString getGitRevision() noexcept
Get the git revision of the sources used to build the application.
Definition application.cpp:52
static QString getDefaultStrokeFontName() noexcept
Get the name of the default stroke font.
Definition application.cpp:246
static QDateTime getGitCommitDate() noexcept
Get the commit datetime of the sources used to build the application.
Definition application.cpp:56
Application(const Application &other)=delete
static QString buildFullVersionDetails() noexcept
Build a copyable text with all the version numbers etc.
Definition application.cpp:81
static QString getVersion() noexcept
Get the application version.
Definition application.cpp:48
static const Version & getFileFormatVersion() noexcept
Get the used file format version.
Definition application.cpp:70
static QStringList getTranslationLocales() noexcept
Get all available translation locales.
Definition application.cpp:180
static void setTranslationLocale(const QLocale &locale) noexcept
Install all translators for a given locale.
Definition application.cpp:267
static const StrokeFont & getDefaultStrokeFont() noexcept
Get the default stroke font.
Definition application.cpp:242
static void cleanTemporaryDirectory() noexcept
Clean up old files & folders in the temporary directory.
Definition application.cpp:311
static FilePath getCacheDir() noexcept
Get the path to the cache directory.
Definition application.cpp:109
static void loadBundledFonts() noexcept
Load all bundled fonts to make them available in the application.
Definition application.cpp:254
static QString getBuildAuthor() noexcept
Get the author who has built the application.
Definition application.cpp:66
static const StrokeFontPool & getStrokeFonts() noexcept
Get all globally available stroke fonts.
Definition application.cpp:223
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
The StrokeFont class.
Definition strokefont.h:56
The StrokeFontPool class.
Definition strokefontpool.h:46
The Version class represents a version number in the format "1.42.7".
Definition version.h:58
Definition occmodel.cpp:77