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

#include <welcome_page.h>

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

Public Member Functions

 WelcomePage (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 Slots

void languageChanged (int index)

Private Attributes

QLabel * bodyLabel
QLabel * languageLabel
QComboBox * langCombo

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ WelcomePage()

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

Member Function Documentation

◆ languageChanged

void WelcomePage::languageChanged ( int index)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void WelcomePage::retranslateUi ( )
overridevirtual

Implements FirstRunWizardPage.

Here is the caller graph for this function:

◆ stepTitle()

QString WelcomePage::stepTitle ( ) const
overridevirtual

Implements FirstRunWizardPage.

Member Data Documentation

◆ bodyLabel

QLabel* WelcomePage::bodyLabel
private

◆ langCombo

QComboBox* WelcomePage::langCombo
private

◆ languageLabel

QLabel* WelcomePage::languageLabel
private

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