Base class for a single step of FirstRunWizard.
More...
#include <first_run_wizard_page.h>
|
| | FirstRunWizardPage (QWidget *parent=nullptr) |
| virtual void | initializePage () |
| | Called every time the page becomes visible, including navigating back to it.
|
| virtual bool | validatePage () |
| | Called before advancing past this page. Return false to block navigation; the page itself is responsible for telling the user why.
|
| virtual bool | isComplete () const |
| | Whether Next/Finish should currently be enabled. Pages doing async work can flip this mid-step; emit completeChanged() when they do.
|
| virtual bool | isSkippable () const |
| | Whether the wizard's "Skip" button should be offered on this page.
|
| virtual QString | stepTitle () const =0 |
| virtual QString | stepSubtitle () const |
| virtual QString | nextButtonText () const |
| | Override to replace the "Next"/"Finish" button text on this page. Return an empty string to use the default label.
|
| virtual bool | handleNextClick () |
| | Called when the user presses the Next button. Return true to allow advancing to the next page, false to stay on this page (e.g. to trigger an async action first).
|
| virtual void | retranslateUi ()=0 |
Base class for a single step of FirstRunWizard.
QWidget-based rather than QWizardPage-based: FirstRunWizard is a QDialog + QStackedWidget shell (not a QWizard) so it can own the banner/step-dot chrome that QWizard's native styles don't give us consistent control over. Naming mirrors OracleWizardPage for familiarity only – the two hierarchies are unrelated.
◆ FirstRunWizardPage()
| FirstRunWizardPage::FirstRunWizardPage |
( |
QWidget * | parent = nullptr | ) |
|
|
inlineexplicit |
◆ advanceRequested
| void FirstRunWizardPage::advanceRequested |
( |
| ) |
|
|
signal |
◆ completeChanged
| void FirstRunWizardPage::completeChanged |
( |
| ) |
|
|
signal |
◆ handleNextClick()
| virtual bool FirstRunWizardPage::handleNextClick |
( |
| ) |
|
|
inlinevirtual |
Called when the user presses the Next button. Return true to allow advancing to the next page, false to stay on this page (e.g. to trigger an async action first).
Reimplemented in CardDatabaseSetupPage.
◆ initializePage()
| virtual void FirstRunWizardPage::initializePage |
( |
| ) |
|
|
inlinevirtual |
◆ isComplete()
| virtual bool FirstRunWizardPage::isComplete |
( |
| ) |
const |
|
inlinevirtual |
◆ isSkippable()
| virtual bool FirstRunWizardPage::isSkippable |
( |
| ) |
const |
|
inlinevirtual |
◆ nextButtonText()
| virtual QString FirstRunWizardPage::nextButtonText |
( |
| ) |
const |
|
inlinevirtual |
Override to replace the "Next"/"Finish" button text on this page. Return an empty string to use the default label.
Reimplemented in CardDatabaseSetupPage.
◆ retranslateUi()
| virtual void FirstRunWizardPage::retranslateUi |
( |
| ) |
|
|
pure virtual |
◆ stepSubtitle()
| virtual QString FirstRunWizardPage::stepSubtitle |
( |
| ) |
const |
|
inlinevirtual |
◆ stepTitle()
| virtual QString FirstRunWizardPage::stepTitle |
( |
| ) |
const |
|
pure virtual |
◆ validatePage()
| virtual bool FirstRunWizardPage::validatePage |
( |
| ) |
|
|
inlinevirtual |
Called before advancing past this page. Return false to block navigation; the page itself is responsible for telling the user why.
Reimplemented in ThemeSetupPage.
The documentation for this class was generated from the following file: