-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.h
More file actions
27 lines (23 loc) · 877 Bytes
/
constants.h
File metadata and controls
27 lines (23 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/////////////////////////////////////////////////////////////////////////////
// Name: constants.h
// Purpose: Constants and text snippets
// Author: Jan Buchholz
// Created: 2025-10-13
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include <QString>
#define APPNAME "SimpleJournalQt"
#define APP_FOLDER "SimpleJournalQt"
#define SET_COMPANY "org.jan.buchholz"
#define SET_WGEOMETRY "mainwindow/geometry"
#define SET_WSTATE "mainwindow/windowState"
#define SET_LASTFOLDER "file/lastfolder"
#define SET_SSTATE "splitter/state"
#define SET_SYNC "options/sync"
#define SET_EDITORFONT "options/editorfont"
#define SET_LISTFONT "options/listfont"
#define SET_ICONSIZE "options/iconsize"
#define PLACEHOLDER " [*]"
int constexpr MAX_ICONSIZE = 24;
int constexpr MIN_ICONSIZE = 12;
int constexpr DEF_ICONSIZE = 16;