QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
DoneWizardPage Class Reference

Last page: a summary of what Finish will do and the two preferences worth asking on day one. More...

#include <firstrunwizard.h>

Inheritance diagram for DoneWizardPage:
Collaboration diagram for DoneWizardPage:

Public Member Functions

 DoneWizardPage (FirstRunWizard *wizard)
 Build the page.
void initializePage () override
 Fill the summary from the settings.
auto validatePage () -> bool override
 Store the preferences.

Private Attributes

FirstRunWizard * m_wizard
 Owner; its settings get the preferences.
QLabel * m_summary
 Store, what Finish does with it, gpg, mode.
QCheckBox * m_hidePassword
 Show the password line as dots; on.
QCheckBox * m_trayIcon
 Tray icon; hidden when there is no tray.

Detailed Description

Last page: a summary of what Finish will do and the two preferences worth asking on day one.

The summary names the store and says whether it is used as it is or set up for the ticked keys, with or without Git. The two checkboxes are "hide passwords until asked" and "show an icon in the system tray"; everything else is left to the settings dialog.

Definition at line 274 of file firstrunwizard.h.

Constructor & Destructor Documentation

◆ DoneWizardPage()

DoneWizardPage::DoneWizardPage ( FirstRunWizard * wizard)
explicit

Build the page.

Parameters
wizardOwner.

Definition at line 469 of file firstrunwizard.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ initializePage()

void DoneWizardPage::initializePage ( )
override

Fill the summary from the settings.

Definition at line 488 of file firstrunwizard.cpp.

Here is the call graph for this function:

◆ validatePage()

auto DoneWizardPage::validatePage ( ) -> bool
override

Store the preferences.

Returns
Always true.

Definition at line 510 of file firstrunwizard.cpp.

Member Data Documentation

◆ m_hidePassword

QCheckBox* DoneWizardPage::m_hidePassword
private

Show the password line as dots; on.

Definition at line 296 of file firstrunwizard.h.

◆ m_summary

QLabel* DoneWizardPage::m_summary
private

Store, what Finish does with it, gpg, mode.

Definition at line 295 of file firstrunwizard.h.

◆ m_trayIcon

QCheckBox* DoneWizardPage::m_trayIcon
private

Tray icon; hidden when there is no tray.

Definition at line 297 of file firstrunwizard.h.

◆ m_wizard

FirstRunWizard* DoneWizardPage::m_wizard
private

Owner; its settings get the preferences.

Definition at line 294 of file firstrunwizard.h.


The documentation for this class was generated from the following files: