FOSSredder 0.5.0
Loading...
Searching...
No Matches
Defaults.h File Reference

Defines UI-specific runtime constants that are not shared with core. More...

#include <QString>
Include dependency graph for Defaults.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ui
namespace  ui::config
namespace  ui::config::languages
namespace  ui::config::preferences
namespace  ui::config::preferences::keys
namespace  ui::config::operationKeys
namespace  ui::config::importProgress
namespace  ui::config::autosave
namespace  ui::config::importPaging
namespace  ui::config::objectNames

Variables

const auto ui::config::kApplicationDisplayName = QStringLiteral("FOSSredder")
 Human-readable application name shown by the UI shell.
const auto ui::config::kAppIconResource
 Resource URL of the application icon embedded into the executable.
constexpr int ui::config::kMainWindowDefaultWidth = 1200
 Default width of the widget-hosted desktop main window.
constexpr int ui::config::kMainWindowDefaultHeight = 800
 Default height of the widget-hosted desktop main window.
constexpr int ui::config::kAboutDialogIconSize = 96
 Pixel size used for the About dialog application icon.
const auto ui::config::kAppQmlDirName = QStringLiteral("qml")
 Deployment directory containing filesystem QML modules next to the executable.
const auto ui::config::kImageFormatsDirName = QStringLiteral("imageformats")
 Deployment directory containing Qt image format plugins next to the executable.
const auto ui::config::kTranslationsDirName = QStringLiteral("i18n")
 Deployment directory containing compiled translation catalogs.
const auto ui::config::kTranslationResourcePrefix = QStringLiteral(":/i18n/")
 Resource prefix used when loading bundled translation catalogs from the Qt resource system.
const auto ui::config::kTranslationBaseName = QStringLiteral("fossredder")
 Basename prefix for compiled translation catalogs such as fossredder_de.qm.
const auto ui::config::kQtStyle = QStringLiteral("Fusion")
 Qt Quick Controls style used by the desktop/QML test runtime.
const auto ui::config::kSettingsOrganizationName = QStringLiteral("FOSSredder")
 Organization name used for the UI's QSettings store.
const auto ui::config::kSettingsApplicationName = QStringLiteral("FOSSredder")
 Application name used for the UI's QSettings store.
const auto ui::config::languages::kEnglish = QStringLiteral("en")
const auto ui::config::languages::kGerman = QStringLiteral("de")
const auto ui::config::languages::kFrench = QStringLiteral("fr")
const auto ui::config::preferences::keys::kLanguage = QStringLiteral("general/language")
const auto ui::config::preferences::keys::kThemeMode = QStringLiteral("general/themeMode")
const auto ui::config::preferences::keys::kAutosaveOnClose = QStringLiteral("general/autosaveOnClose")
const auto ui::config::preferences::keys::kAutosaveIntervalMinutes
const auto ui::config::preferences::keys::kImportDefaultPath = QStringLiteral("import/defaultPath")
const auto ui::config::preferences::keys::kImportPoppler = QStringLiteral("import/poppler")
const auto ui::config::preferences::keys::kImportOpenCv = QStringLiteral("import/opencv")
const auto ui::config::preferences::keys::kImportTesseract = QStringLiteral("import/tesseract")
const auto ui::config::preferences::keys::kImportParser = QStringLiteral("import/parser")
const auto ui::config::preferences::keys::kImportMatcher = QStringLiteral("import/matcher")
const auto ui::config::preferences::keys::kExportDefaultDirectory
const auto ui::config::preferences::keys::kExportArchiveFormat = QStringLiteral("export/archiveFormat")
const auto ui::config::preferences::keys::kExportIncludeFormulas
const auto ui::config::preferences::keys::kAnalysisDefaultDateMode
const auto ui::config::preferences::keys::kAnalysisDefaultYear = QStringLiteral("analysis/defaultYear")
const auto ui::config::preferences::keys::kToolbarShowBooking
const auto ui::config::preferences::keys::kToolbarShowActors
const auto ui::config::preferences::keys::kToolbarShowProperties
const auto ui::config::preferences::keys::kToolbarShowContracts
const auto ui::config::preferences::keys::kToolbarShowImport
const auto ui::config::preferences::keys::kToolbarShowExport
const auto ui::config::preferences::keys::kToolbarShowAnalysis
const auto ui::config::preferences::keys::kToolbarShowAnnual
const auto ui::config::preferences::keys::kToolbarShowSettings
const auto ui::config::operationKeys::kNewFile = QStringLiteral("newFile")
 Operation key emitted for create-new-file actions.
const auto ui::config::operationKeys::kOpenFile = QStringLiteral("openFile")
 Operation key emitted for open-file actions.
const auto ui::config::operationKeys::kSaveFile = QStringLiteral("saveFile")
 Operation key emitted for save-file actions.
const auto ui::config::operationKeys::kSaveFileAs = QStringLiteral("saveFileAs")
 Operation key emitted for save-as actions.
constexpr double ui::config::importProgress::kMinimum = 0.0
 Minimum visible progress value shown by the import UI.
constexpr double ui::config::importProgress::kInitial = 0.01
 Initial progress value shown once an import has started.
constexpr double ui::config::importProgress::kMaximum = 1.0
 Terminal progress value shown after a successful import.
constexpr int ui::config::autosave::kIntervalOff = 0
 Allowed periodic autosave intervals in minutes; 0 means disabled.
constexpr int ui::config::autosave::kInterval1Minute = 1
constexpr int ui::config::autosave::kInterval5Minutes = 5
constexpr int ui::config::autosave::kInterval10Minutes = 10
constexpr int ui::config::autosave::kInterval15Minutes = 15
constexpr int ui::config::autosave::kInterval30Minutes = 30
constexpr int ui::config::importPaging::kNone = 0
 Sentinel value used when no page information is currently available.
constexpr auto ui::config::objectNames::kActionNewFile = "actionNewFile"
 Object name assigned to the main window's "new file" QAction.
constexpr auto ui::config::objectNames::kActionOpenFile = "actionOpenFile"
 Object name assigned to the main window's "open file" QAction.
constexpr auto ui::config::objectNames::kActionSaveFile = "actionSaveFile"
 Object name assigned to the main window's "save file" QAction.
constexpr auto ui::config::objectNames::kActionSaveFileAs = "actionSaveFileAs"
 Object name assigned to the main window's "save as" QAction.
constexpr auto ui::config::objectNames::kActionQuit = "actionQuit"
 Object name assigned to the main window's "quit" QAction.
constexpr auto ui::config::objectNames::kActionAbout = "actionAbout"
 Object name assigned to the main window's "about" QAction.

Detailed Description

Defines UI-specific runtime constants that are not shared with core.

Definition in file Defaults.h.