First-run account step. Does NOT embed DlgRegister's fields: they exist to be handed to ConnectionController's network registration flow, which this wizard has no visibility into. Reimplementing the fields here without that wiring would look functional and silently do nothing – worse than reuse. So: a friendly landing spot that opens the existing DlgRegister / connect flow via signals FirstRunWizard forwards.
More...
#include <account_setup_page.h>
|
| | AccountSetupPage (QWidget *parent=nullptr) |
| bool | isSkippable () const override |
| | Whether the wizard's "Skip" button should be offered on this page.
|
| QString | stepTitle () const override |
| QString | stepSubtitle () const override |
| void | retranslateUi () override |
| | 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 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).
|
First-run account step. Does NOT embed DlgRegister's fields: they exist to be handed to ConnectionController's network registration flow, which this wizard has no visibility into. Reimplementing the fields here without that wiring would look functional and silently do nothing – worse than reuse. So: a friendly landing spot that opens the existing DlgRegister / connect flow via signals FirstRunWizard forwards.
◆ AccountSetupPage()
| AccountSetupPage::AccountSetupPage |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ connectRequested
| void AccountSetupPage::connectRequested |
( |
| ) |
|
|
signal |
◆ isSkippable()
| bool AccountSetupPage::isSkippable |
( |
| ) |
const |
|
overridevirtual |
Whether the wizard's "Skip" button should be offered on this page.
Reimplemented from FirstRunWizardPage.
◆ registerRequested
| void AccountSetupPage::registerRequested |
( |
| ) |
|
|
signal |
◆ retranslateUi()
| void AccountSetupPage::retranslateUi |
( |
| ) |
|
|
overridevirtual |
◆ stepSubtitle()
| QString AccountSetupPage::stepSubtitle |
( |
| ) |
const |
|
overridevirtual |
◆ stepTitle()
| QString AccountSetupPage::stepTitle |
( |
| ) |
const |
|
overridevirtual |
◆ bodyLabel
| QLabel* AccountSetupPage::bodyLabel |
|
private |
◆ connectButton
| QPushButton* AccountSetupPage::connectButton |
|
private |
◆ registerButton
| QPushButton* AccountSetupPage::registerButton |
|
private |
◆ skipHintLabel
| QLabel* AccountSetupPage::skipHintLabel |
|
private |
The documentation for this class was generated from the following files: