|
QtPass 2.0.0
Developer documentation
|
The folder the passwords live in: an existing store is used as-is, a folder without .gpg-id (or no folder) is initialised on Finish. The Git box lives here because its sensible default depends on the folder: on for a repository or a store still to be created, off for an existing store that is no repository. More...
#include <firstrunwizard.h>
Public Member Functions | |
| StoreWizardPage (FirstRunWizard *wizard) | |
| Build the page. | |
| void | initializePage () override |
| Show the configured store path. | |
| auto | isComplete () const -> bool override |
| Whether a path is given and, for a folder that is not a store yet, at least one key was ticked to encrypt it to. | |
| auto | validatePage () -> bool override |
| Store the path and the Git choice. | |
Private Member Functions | |
| auto | recipients () const -> int |
| How many keys are ticked on the key page. | |
| void | updateStatus () |
| After an edit: describe the folder (existing store with its entry count, empty folder, not a store yet, missing) and ask for a ticked key when it has to be initialised, then re-evaluate isComplete(). | |
Private Attributes | |
| FirstRunWizard * | m_wizard |
| Owner; its settings get the path and flag. | |
| QLineEdit * | m_path |
| The store folder, in native separators. | |
| QCheckBox * | m_useGit |
| Keep the store under Git; off without git. | |
| QLabel * | m_status |
| What Finish will do with the folder. | |
The folder the passwords live in: an existing store is used as-is, a folder without .gpg-id (or no folder) is initialised on Finish. The Git box lives here because its sensible default depends on the folder: on for a repository or a store still to be created, off for an existing store that is no repository.
Definition at line 219 of file firstrunwizard.h.
|
explicit |
Build the page.
| wizard | Owner. |
Definition at line 367 of file firstrunwizard.cpp.
|
override |
Show the configured store path.
Definition at line 387 of file firstrunwizard.cpp.
|
override |
Whether a path is given and, for a folder that is not a store yet, at least one key was ticked to encrypt it to.
Definition at line 452 of file firstrunwizard.cpp.
|
private |
How many keys are ticked on the key page.
Definition at line 419 of file firstrunwizard.cpp.
|
private |
After an edit: describe the folder (existing store with its entry count, empty folder, not a store yet, missing) and ask for a ticked key when it has to be initialised, then re-evaluate isComplete().
Definition at line 427 of file firstrunwizard.cpp.
|
override |
Store the path and the Git choice.
Definition at line 460 of file firstrunwizard.cpp.
|
private |
The store folder, in native separators.
Definition at line 246 of file firstrunwizard.h.
|
private |
What Finish will do with the folder.
Definition at line 248 of file firstrunwizard.h.
|
private |
Keep the store under Git; off without git.
Definition at line 247 of file firstrunwizard.h.
|
private |
Owner; its settings get the path and flag.
Definition at line 245 of file firstrunwizard.h.