Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LoadSetsPage Class Reference

#include <pages.h>

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

Public Member Functions

 LoadSetsPage (QWidget *parent=nullptr)
void retranslateUi () override
Public Member Functions inherited from OracleWizardPage
 OracleWizardPage (QWidget *parent=nullptr)

Protected Member Functions

void initializePage () override
bool validatePage () override
void readSetsFromByteArray (QByteArray _data)
void readSetsFromByteArrayRef (QByteArray &_data)
void downloadSetsFile (const QUrl &url)
Protected Member Functions inherited from OracleWizardPage
OracleWizardwizard ()

Private Slots

void actLoadSetsFile ()
void actRestoreDefaultUrl ()
void actDownloadProgressSetsFile (qint64 received, qint64 total)
void actDownloadFinishedSetsFile ()
void importFinished ()
void zipDownloadFailed (const QString &message)

Private Attributes

QRadioButton * urlRadioButton
QRadioButton * fileRadioButton
QLineEdit * urlLineEdit
QLineEdit * fileLineEdit
QPushButton * urlButton
QPushButton * fileButton
QLabel * progressLabel
QProgressBar * progressBar
QFutureWatcher< bool > watcher
QFuture< bool > future
QByteArray jsonData

Additional Inherited Members

Signals inherited from OracleWizardPage
void readyToContinue ()

Constructor & Destructor Documentation

◆ LoadSetsPage()

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

Member Function Documentation

◆ actDownloadFinishedSetsFile

void LoadSetsPage::actDownloadFinishedSetsFile ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actDownloadProgressSetsFile

void LoadSetsPage::actDownloadProgressSetsFile ( qint64 received,
qint64 total )
privateslot
Here is the caller graph for this function:

◆ actLoadSetsFile

void LoadSetsPage::actLoadSetsFile ( )
privateslot
Here is the caller graph for this function:

◆ actRestoreDefaultUrl

void LoadSetsPage::actRestoreDefaultUrl ( )
privateslot
Here is the caller graph for this function:

◆ downloadSetsFile()

void LoadSetsPage::downloadSetsFile ( const QUrl & url)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ importFinished

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

◆ initializePage()

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

◆ readSetsFromByteArray()

void LoadSetsPage::readSetsFromByteArray ( QByteArray _data)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readSetsFromByteArrayRef()

void LoadSetsPage::readSetsFromByteArrayRef ( QByteArray & _data)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void LoadSetsPage::retranslateUi ( )
overridevirtual

Implements OracleWizardPage.

◆ validatePage()

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

◆ zipDownloadFailed

void LoadSetsPage::zipDownloadFailed ( const QString & message)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fileButton

QPushButton* LoadSetsPage::fileButton
private

◆ fileLineEdit

QLineEdit* LoadSetsPage::fileLineEdit
private

◆ fileRadioButton

QRadioButton* LoadSetsPage::fileRadioButton
private

◆ future

QFuture<bool> LoadSetsPage::future
private

◆ jsonData

QByteArray LoadSetsPage::jsonData
private

◆ progressBar

QProgressBar* LoadSetsPage::progressBar
private

◆ progressLabel

QLabel* LoadSetsPage::progressLabel
private

◆ urlButton

QPushButton* LoadSetsPage::urlButton
private

◆ urlLineEdit

QLineEdit* LoadSetsPage::urlLineEdit
private

◆ urlRadioButton

QRadioButton* LoadSetsPage::urlRadioButton
private

◆ watcher

QFutureWatcher<bool> LoadSetsPage::watcher
private

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