|
QtPass 2.0.0
Developer documentation
|
The secret keys gpg knows; a new pair can be generated here. The enabled ones become the recipients of a store that still has to be initialised. More...
#include <firstrunwizard.h>
Public Member Functions | |
| KeyWizardPage (FirstRunWizard *wizard) | |
| Build the page. | |
| void | initializePage () override |
| List the secret keys for the gpg chosen on the previous page. | |
| auto | isComplete () const -> bool override |
| Always passable: an existing store needs no recipient choice here (and its key may not be imported yet); the store page insists on a ticked key when it has to initialise. | |
| auto | validatePage () -> bool override |
| Remember which keys are enabled. | |
Private Member Functions | |
| void | reload () |
| List the secret keys of the chosen gpg into the wizard and the widget, ticking every usable key and greying out expired or invalid ones. | |
| void | generate () |
| Run KeygenDialog on a private ImitatePass built from the wizard's settings, so the chosen gpg is used and nothing is saved, then reload(). | |
Private Attributes | |
| FirstRunWizard * | m_wizard |
| Owner; holds the key list this page fills. | |
| QListWidget * | m_list |
| One checkable row per secret key. | |
| QPushButton * | m_generate |
| Opens KeygenDialog. | |
| QLabel * | m_status |
| Says so when gpg has no secret key yet. | |
The secret keys gpg knows; a new pair can be generated here. The enabled ones become the recipients of a store that still has to be initialised.
Definition at line 165 of file firstrunwizard.h.
|
explicit |
Build the page.
| wizard | Owner. |
Definition at line 291 of file firstrunwizard.cpp.
|
private |
Run KeygenDialog on a private ImitatePass built from the wizard's settings, so the chosen gpg is used and nothing is saved, then reload().
Definition at line 345 of file firstrunwizard.cpp.
|
override |
List the secret keys for the gpg chosen on the previous page.
Definition at line 312 of file firstrunwizard.cpp.
|
override |
Always passable: an existing store needs no recipient choice here (and its key may not be imported yet); the store page insists on a ticked key when it has to initialise.
Definition at line 356 of file firstrunwizard.cpp.
|
private |
List the secret keys of the chosen gpg into the wizard and the widget, ticking every usable key and greying out expired or invalid ones.
Definition at line 314 of file firstrunwizard.cpp.
|
override |
Remember which keys are enabled.
Definition at line 358 of file firstrunwizard.cpp.
|
private |
Opens KeygenDialog.
Definition at line 194 of file firstrunwizard.h.
|
private |
One checkable row per secret key.
Definition at line 193 of file firstrunwizard.h.
|
private |
Says so when gpg has no secret key yet.
Definition at line 195 of file firstrunwizard.h.
|
private |
Owner; holds the key list this page fills.
Definition at line 192 of file firstrunwizard.h.