|
QtPass 2.0.0
Developer documentation
|
The names of the keys in the settings file, one constant per key. More...
#include <settingsconstants.h>
Public Member Functions | |
| SettingsConstants ()=delete | |
| Not for instantiation: the class only holds constants. | |
Static Public Attributes | |
| static const QString | version = "version" |
| Version of QtPass that last wrote the settings. Text. | |
| static const QString | groupMainwindow = "mainwindow" |
| Name of the group that holds the main window keys; not a setting itself. | |
| static const QString | geometry |
| Saved geometry of the main window (mainwindow/geometry). Bytes from QWidget::saveGeometry(). | |
| static const QString | savestate |
| Saved dock and toolbar state of the main window (mainwindow/savestate). Bytes from QMainWindow::saveState(). | |
| static const QString | dialogGeometry = "dialog/geometry" |
| Prefix of the saved geometry of each dialog: the key is dialog/geometry/<dialog name>. Bytes. | |
| static const QString | usePass = "usePass" |
| Run the pass program (true) or call gpg and Git directly (false). Boolean, default false. | |
| static const QString | useAutoclear = "useAutoclear" |
| Clear the clipboard some time after a copy. Boolean, default false. | |
| static const QString | restoreClipboard = "restoreClipboard" |
| When autoclear runs, put back what was on the clipboard before the copy. Boolean, default true. | |
| static const QString | useSelection = "useSelection" |
| Copy to the X11 primary selection instead of the clipboard, where the platform has one. Boolean, default false. | |
| static const QString | autoclearSeconds = "autoclearSeconds" |
| Seconds until the clipboard is cleared. Integer, default 0. | |
| static const QString | useAutoclearPanel = "useAutoclearPanel" |
| Clear the content panel some time after an entry is shown. Boolean, default false. | |
| static const QString | autoclearPanelSeconds |
| Seconds until the content panel is cleared. Integer, default 0. | |
| static const QString | hidePassword = "hidePassword" |
| Mask the password line in the content panel. Boolean, default false. | |
| static const QString | secretFieldNames = "secretFieldNames" |
| Field names that hideSecretFields masks. List of text; absent means AppSettings::defaultSecretFieldNames(), and a saved empty list stays empty. | |
| static const QString | hideSecretFields = "hideSecretFields" |
| With hidePassword: mask the fields named in secretFieldNames too. Boolean, default true. | |
| static const QString | hideAllFields = "hideAllFields" |
| With hidePassword: mask every field, not only the secret ones. Boolean, default false. | |
| static const QString | hideContent = "hideContent" |
| Show no content of an entry at all. Boolean, default false. | |
| static const QString | useMonospace = "useMonospace" |
| Show the content in a monospace font. Boolean, default false. | |
| static const QString | displayAsIs = "displayAsIs" |
| Show the file content as it is, without splitting it into fields. Boolean, default false. | |
| static const QString | noLineWrapping = "noLineWrapping" |
| Do not wrap long lines in the content panel. Boolean, default false. | |
| static const QString | addGPGId = "addGPGId" |
| With Git in use: add a changed .gpg-id file to Git. Boolean, default true. | |
| static const QString | passStore = "passStore" |
| Root folder of the password store. Path as text. | |
| static const QString | passSigningKey = "passSigningKey" |
| Keys that sign and check the .gpg-id files, separated by spaces. Text. Empty means the exported PASSWORD_STORE_SIGNING_KEY, and no signing when that is empty too. | |
| static const QString | passExecutable = "passExecutable" |
| Path of the pass program. Text. | |
| static const QString | sshAuthSockOverride = "sshAuthSockOverride" |
| Value for SSH_AUTH_SOCK that replaces the one found. Path as text, empty for none. | |
| static const QString | gitExecutable = "gitExecutable" |
| Path of the git program. Text. | |
| static const QString | gpgExecutable = "gpgExecutable" |
| Path of the gpg or gpg2 program. Text. | |
| static const QString | pwgenExecutable = "pwgenExecutable" |
| Path of the pwgen program. Text. | |
| static const QString | gpgHome = "gpgHome" |
| GnuPG home folder that takes the place of GNUPGHOME when it exists. Path as text, empty for none. | |
| static const QString | profile = "profile" |
| Name of the active profile, and also the group profile/<name>/ that holds each profile (path, signingKey, useGit, autoPush, autoPull). Text. | |
| static const QString | useGit = "useGit" |
| Use Git in the store. Boolean, default false; a profile can set its own value. | |
| static const QString | useGrepSearch = "useGrepSearch" |
| Offer the search in the content of entries. Boolean, default false. | |
| static const QString | useOtp = "useOtp" |
| Show one-time codes for entries that hold an otpauth:// line. Boolean, default true. | |
| static const QString | otpMigratedToNative = "otpMigratedToNative" |
| Marker that the one-time useOtp migration has run. | |
| static const QString | firstRunPending = "firstRunPending" |
| Set on a fresh install until QtPass is first set up: the first-run wizard finished, or a store that already works was found. | |
| static const QString | useQrencode = "useQrencode" |
| Offer QR codes made with the qrencode program. Boolean, default false. | |
| static const QString | qrencodeExecutable = "qrencodeExecutable" |
| Path of the qrencode program. Text. | |
| static const QString | usePwgen = "usePwgen" |
| Generate passwords with the pwgen program, not with the built-in generator. Boolean, default false. | |
| static const QString | avoidCapitals = "avoidCapitals" |
| pwgen: no capital letters (--no-capitalize). Boolean, default false. | |
| static const QString | avoidNumbers = "avoidNumbers" |
| pwgen: no digits (--no-numerals). Boolean, default false. | |
| static const QString | lessRandom = "lessRandom" |
| pwgen: passwords that are easier to remember; off adds --secure. Boolean, default false. | |
| static const QString | useSymbols = "useSymbols" |
| pwgen: include symbols (--symbols). Boolean, default false. | |
| static const QString | passwordLength = "passwordLength" |
| Length of a generated password. Integer, default 16; a value of 0 or less is read as 16. | |
| static const QString | passwordCharsSelection |
| Character set of the built-in generator, as a PasswordConfiguration::CharacterSet number. Integer, default 0 (ALLCHARS). The stored key is passwordCharsselection, with a lower-case s. | |
| static const QString | passwordChars = "passwordChars" |
| The user's own alphabet for the CUSTOM character set. Text. | |
| static const QString | useTrayIcon = "useTrayIcon" |
| Show an icon in the system tray. Boolean, default false. | |
| static const QString | hideOnClose = "hideOnClose" |
| With a tray icon: closing the window hides it to the tray and QtPass keeps running. Boolean, default false. | |
| static const QString | startMinimized = "startMinimized" |
| With useTrayIcon and a system tray present: start with the window hidden in the tray. Boolean, default false. | |
| static const QString | alwaysOnTop = "alwaysOnTop" |
| Keep the main window above other windows. Boolean, default false. | |
| static const QString | autoPull = "autoPull" |
| With Git in use: run git pull before an entry is edited and before entries are re-encrypted. Boolean, default false; a profile can set its own value. | |
| static const QString | autoPush = "autoPush" |
| Run git push after each change. Boolean, default false; a profile can set its own value. | |
| static const QString | gitUseParentRepository |
| Let Git use a repository in a folder above the store when the store has none of its own. Boolean, default false. | |
| static const QString | passTemplate = "passTemplate" |
| Field names of the entry template, one per line. Text. | |
| static const QString | useTemplate = "useTemplate" |
| Offer the template fields in the entry dialog. Boolean, default false. | |
| static const QString | templateAllFields = "templateAllFields" |
| With useTemplate: show every key: value line as a field, not only the template's. Boolean, default false. | |
| static const QString | showProcessOutput = "showProcessOutput" |
| Show the Process Output panel. Boolean, default false. | |
| static const QString | showMenuBar = "showMenuBar" |
| Show the menu bar. Boolean, default false. | |
| static const QString | clipBoardType = "clipBoardType" |
| When a password goes to the clipboard, as an Enums::ClipBoardType number. Integer, default 0 (never). | |
The names of the keys in the settings file, one constant per key.
SettingsSerializer and QtPassSettings read and write QSettings with these names. The text of a key is what is already in the users' settings files, so a constant can get a better name but its text cannot change without a migration. AppSettings holds the values, with the same defaults as given here. The keys inside a profile group are not in this table: see QtPassSettings::getProfiles().
Definition at line 24 of file settingsconstants.h.
|
static |
With Git in use: add a changed .gpg-id file to Git. Boolean, default true.
Definition at line 120 of file settingsconstants.h.
|
static |
Keep the main window above other windows. Boolean, default false.
Definition at line 240 of file settingsconstants.h.
|
static |
Seconds until the content panel is cleared. Integer, default 0.
Definition at line 80 of file settingsconstants.h.
|
static |
Seconds until the clipboard is cleared. Integer, default 0.
Definition at line 73 of file settingsconstants.h.
|
static |
With Git in use: run git pull before an entry is edited and before entries are re-encrypted. Boolean, default false; a profile can set its own value.
Definition at line 246 of file settingsconstants.h.
|
static |
Run git push after each change. Boolean, default false; a profile can set its own value.
Definition at line 251 of file settingsconstants.h.
|
static |
pwgen: no capital letters (--no-capitalize). Boolean, default false.
Definition at line 201 of file settingsconstants.h.
|
static |
pwgen: no digits (--no-numerals). Boolean, default false.
Definition at line 203 of file settingsconstants.h.
|
static |
When a password goes to the clipboard, as an Enums::ClipBoardType number. Integer, default 0 (never).
Definition at line 277 of file settingsconstants.h.
|
static |
Prefix of the saved geometry of each dialog: the key is dialog/geometry/<dialog name>. Bytes.
Definition at line 50 of file settingsconstants.h.
|
static |
Show the file content as it is, without splitting it into fields. Boolean, default false.
Definition at line 110 of file settingsconstants.h.
|
static |
Set on a fresh install until QtPass is first set up: the first-run wizard finished, or a store that already works was found.
Only then does the wizard turn "Use pass" and "Use Git" on from what it detects. It also runs again later, when the store lost its recipient list, and then shows the choices saved before.
Definition at line 184 of file settingsconstants.h.
|
static |
Saved geometry of the main window (mainwindow/geometry). Bytes from QWidget::saveGeometry().
Definition at line 39 of file settingsconstants.h.
|
static |
Path of the git program. Text.
Definition at line 137 of file settingsconstants.h.
|
static |
Let Git use a repository in a folder above the store when the store has none of its own. Boolean, default false.
Definition at line 256 of file settingsconstants.h.
|
static |
Path of the gpg or gpg2 program. Text.
Definition at line 139 of file settingsconstants.h.
|
static |
GnuPG home folder that takes the place of GNUPGHOME when it exists. Path as text, empty for none.
Definition at line 146 of file settingsconstants.h.
|
static |
Name of the group that holds the main window keys; not a setting itself.
Definition at line 34 of file settingsconstants.h.
|
static |
With hidePassword: mask every field, not only the secret ones. Boolean, default false.
Definition at line 101 of file settingsconstants.h.
|
static |
Show no content of an entry at all. Boolean, default false.
Definition at line 103 of file settingsconstants.h.
|
static |
With a tray icon: closing the window hides it to the tray and QtPass keeps running. Boolean, default false.
Definition at line 231 of file settingsconstants.h.
|
static |
Mask the password line in the content panel. Boolean, default false.
Definition at line 85 of file settingsconstants.h.
|
static |
With hidePassword: mask the fields named in secretFieldNames too. Boolean, default true.
Definition at line 96 of file settingsconstants.h.
|
static |
pwgen: passwords that are easier to remember; off adds --secure. Boolean, default false.
Definition at line 208 of file settingsconstants.h.
|
static |
Do not wrap long lines in the content panel. Boolean, default false.
Definition at line 115 of file settingsconstants.h.
|
static |
Marker that the one-time useOtp migration has run.
useOtp used to gate the pass-otp extension and now gates built-in TOTP, so it is enabled once for profiles created before the change. Recorded separately so a deliberate opt-out survives the next launch.
Definition at line 175 of file settingsconstants.h.
|
static |
Path of the pass program. Text.
Definition at line 130 of file settingsconstants.h.
|
static |
Keys that sign and check the .gpg-id files, separated by spaces. Text. Empty means the exported PASSWORD_STORE_SIGNING_KEY, and no signing when that is empty too.
Definition at line 128 of file settingsconstants.h.
|
static |
Root folder of the password store. Path as text.
Definition at line 122 of file settingsconstants.h.
|
static |
Field names of the entry template, one per line. Text.
Definition at line 258 of file settingsconstants.h.
|
static |
The user's own alphabet for the CUSTOM character set. Text.
Definition at line 224 of file settingsconstants.h.
|
static |
Character set of the built-in generator, as a PasswordConfiguration::CharacterSet number. Integer, default 0 (ALLCHARS). The stored key is passwordCharsselection, with a lower-case s.
Definition at line 222 of file settingsconstants.h.
|
static |
Length of a generated password. Integer, default 16; a value of 0 or less is read as 16.
Definition at line 215 of file settingsconstants.h.
|
static |
Name of the active profile, and also the group profile/<name>/ that holds each profile (path, signingKey, useGit, autoPush, autoPull). Text.
Definition at line 152 of file settingsconstants.h.
|
static |
Path of the pwgen program. Text.
Definition at line 141 of file settingsconstants.h.
|
static |
Path of the qrencode program. Text.
Definition at line 191 of file settingsconstants.h.
|
static |
When autoclear runs, put back what was on the clipboard before the copy. Boolean, default true.
Definition at line 66 of file settingsconstants.h.
|
static |
Saved dock and toolbar state of the main window (mainwindow/savestate). Bytes from QMainWindow::saveState().
Definition at line 44 of file settingsconstants.h.
|
static |
Field names that hideSecretFields masks. List of text; absent means AppSettings::defaultSecretFieldNames(), and a saved empty list stays empty.
Definition at line 91 of file settingsconstants.h.
|
static |
Show the menu bar. Boolean, default false.
Definition at line 272 of file settingsconstants.h.
|
static |
Show the Process Output panel. Boolean, default false.
Definition at line 270 of file settingsconstants.h.
|
static |
Value for SSH_AUTH_SOCK that replaces the one found. Path as text, empty for none.
Definition at line 135 of file settingsconstants.h.
|
static |
With useTrayIcon and a system tray present: start with the window hidden in the tray. Boolean, default false.
Definition at line 236 of file settingsconstants.h.
|
static |
With useTemplate: show every key: value line as a field, not only the template's. Boolean, default false.
Definition at line 268 of file settingsconstants.h.
|
static |
Clear the clipboard some time after a copy. Boolean, default false.
Definition at line 61 of file settingsconstants.h.
|
static |
Clear the content panel some time after an entry is shown. Boolean, default false.
Definition at line 78 of file settingsconstants.h.
|
static |
Use Git in the store. Boolean, default false; a profile can set its own value.
Definition at line 157 of file settingsconstants.h.
|
static |
Offer the search in the content of entries. Boolean, default false.
Definition at line 162 of file settingsconstants.h.
|
static |
Show the content in a monospace font. Boolean, default false.
Definition at line 105 of file settingsconstants.h.
|
static |
Show one-time codes for entries that hold an otpauth:// line. Boolean, default true.
Definition at line 167 of file settingsconstants.h.
|
static |
Run the pass program (true) or call gpg and Git directly (false). Boolean, default false.
Definition at line 56 of file settingsconstants.h.
|
static |
Generate passwords with the pwgen program, not with the built-in generator. Boolean, default false.
Definition at line 196 of file settingsconstants.h.
|
static |
Offer QR codes made with the qrencode program. Boolean, default false.
Definition at line 189 of file settingsconstants.h.
|
static |
Copy to the X11 primary selection instead of the clipboard, where the platform has one. Boolean, default false.
Definition at line 71 of file settingsconstants.h.
|
static |
pwgen: include symbols (--symbols). Boolean, default false.
Definition at line 210 of file settingsconstants.h.
|
static |
Offer the template fields in the entry dialog. Boolean, default false.
Definition at line 263 of file settingsconstants.h.
|
static |
Show an icon in the system tray. Boolean, default false.
Definition at line 226 of file settingsconstants.h.
|
static |
Version of QtPass that last wrote the settings. Text.
Definition at line 29 of file settingsconstants.h.