31 qWarning() <<
"Ignoring out-of-range passwordCharsSelection" << selected;
93 const QStringList names =
95 for (
const QString &name : names) {
96 if (!name.trimmed().isEmpty()) {
201 for (
const auto &obsolete :
202 {QStringLiteral(
"useWebDav"), QStringLiteral(
"webDavUrl"),
203 QStringLiteral(
"webDavUser"), QStringLiteral(
"webDavPassword")}) {
static const QString savestate
Saved dock and toolbar state of the main window (mainwindow/savestate). Bytes from QMainWindow::saveS...
static const QString useSelection
Copy to the X11 primary selection instead of the clipboard, where the platform has one....
static const QString passExecutable
Path of the pass program. Text.
static const QString noLineWrapping
Do not wrap long lines in the content panel. Boolean, default false.
static const QString restoreClipboard
When autoclear runs, put back what was on the clipboard before the copy. Boolean, default true.
static const QString useGrepSearch
Offer the search in the content of entries. Boolean, default false.
static const QString autoPull
With Git in use: run git pull before an entry is edited and before entries are re-encrypted....
static const QString lessRandom
pwgen: passwords that are easier to remember; off adds --secure. Boolean, default false.
static const QString secretFieldNames
Field names that hideSecretFields masks. List of text; absent means AppSettings::defaultSecretFieldNa...
static const QString pwgenExecutable
Path of the pwgen program. Text.
static const QString geometry
Saved geometry of the main window (mainwindow/geometry). Bytes from QWidget::saveGeometry().
static const QString gpgHome
GnuPG home folder that takes the place of GNUPGHOME when it exists. Path as text, empty for none.
static const QString version
Version of QtPass that last wrote the settings. Text.
static const QString passTemplate
Field names of the entry template, one per line. Text.
static const QString showProcessOutput
Show the Process Output panel. Boolean, default false.
static const QString useAutoclear
Clear the clipboard some time after a copy. Boolean, default false.
static const QString clipBoardType
When a password goes to the clipboard, as an Enums::ClipBoardType number. Integer,...
static const QString autoclearPanelSeconds
Seconds until the content panel is cleared. Integer, default 0.
static const QString avoidNumbers
pwgen: no digits (--no-numerals). Boolean, default false.
static const QString useAutoclearPanel
Clear the content panel some time after an entry is shown. Boolean, default false.
static const QString gitUseParentRepository
Let Git use a repository in a folder above the store when the store has none of its own....
static const QString usePass
Run the pass program (true) or call gpg and Git directly (false). Boolean, default false.
static const QString hideOnClose
With a tray icon: closing the window hides it to the tray and QtPass keeps running....
static const QString alwaysOnTop
Keep the main window above other windows. Boolean, default false.
static const QString useGit
Use Git in the store. Boolean, default false; a profile can set its own value.
static const QString gitExecutable
Path of the git program. Text.
static const QString gpgExecutable
Path of the gpg or gpg2 program. Text.
static const QString profile
Name of the active profile, and also the group profile/<name>/ that holds each profile (path,...
static const QString hideSecretFields
With hidePassword: mask the fields named in secretFieldNames too. Boolean, default true.
static const QString hideAllFields
With hidePassword: mask every field, not only the secret ones. Boolean, default false.
static const QString useTrayIcon
Show an icon in the system tray. Boolean, default false.
static const QString passwordCharsSelection
Character set of the built-in generator, as a PasswordConfiguration::CharacterSet number....
static const QString useOtp
Show one-time codes for entries that hold an otpauth:// line. Boolean, default true.
static const QString startMinimized
With useTrayIcon and a system tray present: start with the window hidden in the tray....
static const QString hideContent
Show no content of an entry at all. Boolean, default false.
static const QString avoidCapitals
pwgen: no capital letters (--no-capitalize). Boolean, default false.
static const QString autoclearSeconds
Seconds until the clipboard is cleared. Integer, default 0.
static const QString usePwgen
Generate passwords with the pwgen program, not with the built-in generator. Boolean,...
static const QString useMonospace
Show the content in a monospace font. Boolean, default false.
static const QString passwordLength
Length of a generated password. Integer, default 16; a value of 0 or less is read as 16.
static const QString qrencodeExecutable
Path of the qrencode program. Text.
static const QString passStore
Root folder of the password store. Path as text.
static const QString passwordChars
The user's own alphabet for the CUSTOM character set. Text.
static const QString displayAsIs
Show the file content as it is, without splitting it into fields. Boolean, default false.
static const QString sshAuthSockOverride
Value for SSH_AUTH_SOCK that replaces the one found. Path as text, empty for none.
static const QString useSymbols
pwgen: include symbols (--symbols). Boolean, default false.
static const QString passSigningKey
Keys that sign and check the .gpg-id files, separated by spaces. Text. Empty means the exported PASSW...
static const QString templateAllFields
With useTemplate: show every key: value line as a field, not only the template's. Boolean,...
static const QString addGPGId
With Git in use: add a changed .gpg-id file to Git. Boolean, default true.
static const QString showMenuBar
Show the menu bar. Boolean, default false.
static const QString useQrencode
Offer QR codes made with the qrencode program. Boolean, default false.
static const QString useTemplate
Offer the template fields in the entry dialog. Boolean, default false.
static const QString autoPush
Run git push after each change. Boolean, default false; a profile can set its own value.
static const QString hidePassword
Mask the password line in the content panel. Boolean, default false.
static auto loadPasswordConfiguration(QSettings &qs) -> PasswordConfiguration
Read only the password generation settings from a QSettings store.
static void save(QSettings &qs, const AppSettings &settings)
Write all flat settings to a QSettings store.
static auto load(QSettings &qs) -> AppSettings
Read all flat settings from a QSettings store.
ClipBoardType
Defines when to copy passwords to clipboard.
Names of the keys QtPass stores its settings under.
SettingsSerializer: the flat AppSettings fields to and from their QSettings keys, without side effect...
Plain value-object holding all flat QtPass configuration.
bool displayAsIs
Show file content unmodified.
QByteArray geometry
Main-window saved geometry.
bool useGrepSearch
Enable content (grep) search.
QString gpgExecutable
Path to the gpg/gpg2 executable.
QString qrencodeExecutable
Path to the qrencode executable.
QString sshAuthSockOverride
Manual SSH_AUTH_SOCK override path.
bool lessRandom
Generate memorable (less random) passwords.
bool useSymbols
Include special symbols.
bool hideOnClose
Hide to tray instead of quitting on close.
QStringList secretFieldNames
QString passSigningKey
GPG key used to sign .gpg-id files.
bool usePass
Use the pass CLI (true) or native git/gpg.
QString pwgenExecutable
Path to the pwgen executable.
bool hideContent
Hide the entire content panel.
bool useOtp
Enable native TOTP (OTP) support.
QString passStore
Password-store root path.
bool useAutoclearPanel
Clear the content panel after a delay.
bool noLineWrapping
Disable line wrapping in the panel.
bool showMenuBar
Show the menu bar (Ctrl+M toggles it).
QString gitExecutable
Path to the git executable.
QString gpgHome
GPG home directory (read-only externally).
static auto defaultSecretFieldNames() -> QStringList
The secret field names a new or emptied setting starts with: what an entry commonly holds besides its...
bool autoPull
git pull before an entry is edited and before a re-encryption.
bool alwaysOnTop
Keep the main window always on top.
int autoclearPanelSeconds
Panel autoclear delay (seconds).
bool showProcessOutput
Show external process output.
bool startMinimized
Start the window minimised.
bool useTrayIcon
Show a system tray icon.
bool gitUseParentRepository
QString passExecutable
Path to the pass executable.
bool avoidCapitals
Exclude uppercase letters.
int autoclearSeconds
Clipboard autoclear delay (seconds).
bool useSelection
Use the X11 primary selection.
bool useGit
Enable git integration.
bool addGPGId
Auto-add .gpg-id files to git.
Enums::ClipBoardType clipBoardType
Clipboard copy behaviour.
QString version
Last-run application version.
QByteArray savestate
Main-window saved dock/toolbar state.
QString passTemplate
Newline-separated template field names.
bool useMonospace
Render content in a monospace font.
bool templateAllFields
Treat every key: line as a field.
bool avoidNumbers
Exclude digits.
bool useQrencode
Enable qrencode support.
QString activeProfile
Name of the active profile.
bool useTemplate
Use the password template.
PasswordConfiguration passwordConfiguration
Length/charset/custom chars.
Holds the password generator settings: which character set is selected, the alphabet of every set,...
int length
Length of the generated password, in characters.
CharacterSet selected
Currently active character set selection.
CharacterSet
Character set options for password generation; also the index into Characters.
std::array< QString, CHARSETS_COUNT > Characters
The alphabet of each character set, indexed by CharacterSet. Only the CUSTOM entry is meant to be cha...