Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
SaveSetsPage Class Reference

#include <pages.h>

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

Public Member Functions

 SaveSetsPage (QWidget *parent=nullptr)
void retranslateUi () override
bool isComplete () const override
Public Member Functions inherited from OracleWizardPage
 OracleWizardPage (QWidget *parent=nullptr)

Protected Member Functions

void initializePage () override
void cleanupPage () override
bool validatePage () override
void cancelWork () override
 Asks an active page to stop any background worker before the wizard (and its importer) can be torn down underneath it. Default is a no-op.
Protected Member Functions inherited from OracleWizardPage
OracleWizard * wizard ()

Private Slots

void importFinished ()
void updateTotalProgress (int cardsImported, int setIndex, const QString &setName)

Private Attributes

QTextEdit * messageLog
QProgressBar * progressBar
QCheckBox * defaultPathCheckBox
QLabel * pathLabel
QLabel * saveLabel
QFutureWatcher< int > importWatcher
QFuture< int > importFuture
int totalSets = 0
bool importActive = false

Additional Inherited Members

Signals inherited from OracleWizardPage
void readyToContinue ()

Constructor & Destructor Documentation

◆ SaveSetsPage()

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

Member Function Documentation

◆ cancelWork()

void SaveSetsPage::cancelWork ( )
overrideprotectedvirtual

Asks an active page to stop any background worker before the wizard (and its importer) can be torn down underneath it. Default is a no-op.

Reimplemented from OracleWizardPage.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cleanupPage()

void SaveSetsPage::cleanupPage ( )
overrideprotected
Here is the call graph for this function:

◆ importFinished

void SaveSetsPage::importFinished ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializePage()

void SaveSetsPage::initializePage ( )
overrideprotected
Here is the call graph for this function:

◆ isComplete()

bool SaveSetsPage::isComplete ( ) const
override

◆ retranslateUi()

void SaveSetsPage::retranslateUi ( )
overridevirtual

Implements OracleWizardPage.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateTotalProgress

void SaveSetsPage::updateTotalProgress ( int cardsImported,
int setIndex,
const QString & setName )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validatePage()

bool SaveSetsPage::validatePage ( )
overrideprotected
Here is the call graph for this function:

Member Data Documentation

◆ defaultPathCheckBox

QCheckBox* SaveSetsPage::defaultPathCheckBox
private

◆ importActive

bool SaveSetsPage::importActive = false
private

◆ importFuture

QFuture<int> SaveSetsPage::importFuture
private

◆ importWatcher

QFutureWatcher<int> SaveSetsPage::importWatcher
private

◆ messageLog

QTextEdit* SaveSetsPage::messageLog
private

◆ pathLabel

QLabel* SaveSetsPage::pathLabel
private

◆ progressBar

QProgressBar* SaveSetsPage::progressBar
private

◆ saveLabel

QLabel* SaveSetsPage::saveLabel
private

◆ totalSets

int SaveSetsPage::totalSets = 0
private

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