|
QtPass 2.0.0
Developer documentation
|
Where gpg, pass and git are; gpg is required, the rest optional. A stored path that no longer runs is replaced by what PATH has. More...
#include <firstrunwizard.h>
Public Member Functions | |
| ProgramsWizardPage (FirstRunWizard *wizard) | |
| Build the page. | |
| void | initializePage () override |
| Fill the fields from the settings (autodetection already ran). | |
| auto | isComplete () const -> bool override |
| Whether the gpg path points at something that can run. | |
| auto | validatePage () -> bool override |
| Store the paths and the pass/Git choices in the settings. | |
Private Member Functions | |
| void | updateStatus () |
| After an edit: say under the gpg field when it is missing or not executable, allow "use pass" only for a runnable pass (unticking it otherwise), and re-evaluate isComplete(). | |
Private Attributes | |
| FirstRunWizard * | m_wizard |
| Owner; its settings are what the page edits. | |
| QLineEdit * | m_gpg |
| The gpg executable; required. | |
| QLineEdit * | m_git |
| The git executable; optional. | |
| QLineEdit * | m_pass |
| The pass executable; optional. | |
| QCheckBox * | m_usePass |
| Run pass instead of gpg/git; needs m_pass. | |
| QLabel * | m_gpgStatus |
| Under the gpg field: why it cannot be used. | |
Where gpg, pass and git are; gpg is required, the rest optional. A stored path that no longer runs is replaced by what PATH has.
Definition at line 118 of file firstrunwizard.h.
|
explicit |
Build the page.
| wizard | Owner. |
Definition at line 204 of file firstrunwizard.cpp.
|
override |
Fill the fields from the settings (autodetection already ran).
Definition at line 231 of file firstrunwizard.cpp.
|
override |
Whether the gpg path points at something that can run.
Definition at line 276 of file firstrunwizard.cpp.
|
private |
After an edit: say under the gpg field when it is missing or not executable, allow "use pass" only for a runnable pass (unticking it otherwise), and re-evaluate isComplete().
Definition at line 259 of file firstrunwizard.cpp.
|
override |
Store the paths and the pass/Git choices in the settings.
Definition at line 280 of file firstrunwizard.cpp.
|
private |
The git executable; optional.
Definition at line 145 of file firstrunwizard.h.
|
private |
The gpg executable; required.
Definition at line 144 of file firstrunwizard.h.
|
private |
Under the gpg field: why it cannot be used.
Definition at line 148 of file firstrunwizard.h.
|
private |
The pass executable; optional.
Definition at line 146 of file firstrunwizard.h.
|
private |
Run pass instead of gpg/git; needs m_pass.
Definition at line 147 of file firstrunwizard.h.
|
private |
Owner; its settings are what the page edits.
Definition at line 143 of file firstrunwizard.h.