Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
FinishPage Class Reference

#include <finish_page.h>

Inheritance diagram for FinishPage:
[legend]
Collaboration diagram for FinishPage:
[legend]

Public Member Functions

 FinishPage (QWidget *parent=nullptr)
QString stepTitle () const override
void retranslateUi () override
Public Member Functions inherited from FirstRunWizardPage
 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 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).

Private Attributes

QLabel * bodyLabel

Additional Inherited Members

Signals inherited from FirstRunWizardPage
void completeChanged ()
void advanceRequested ()

Constructor & Destructor Documentation

◆ FinishPage()

FinishPage::FinishPage ( QWidget * parent = nullptr)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ retranslateUi()

void FinishPage::retranslateUi ( )
overridevirtual

Implements FirstRunWizardPage.

Here is the caller graph for this function:

◆ stepTitle()

QString FinishPage::stepTitle ( ) const
overridevirtual

Implements FirstRunWizardPage.

Member Data Documentation

◆ bodyLabel

QLabel* FinishPage::bodyLabel
private

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