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

#include <pagetemplates.h>

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

Signals

void parsedDataReady ()
Signals inherited from OracleWizardPage
void readyToContinue ()

Public Member Functions

 SimpleDownloadFilePage (QWidget *parent=nullptr)
Public Member Functions inherited from OracleWizardPage
 OracleWizardPage (QWidget *parent=nullptr)
virtual void retranslateUi ()=0

Protected Member Functions

void initializePage () override
bool validatePage () override
void downloadFile (QUrl url)
virtual QString getDefaultUrl ()=0
virtual QString getCustomUrlSettingsKey ()=0
virtual QString getDefaultSavePath ()=0
virtual QString getWindowTitle ()=0
virtual QString getFileType ()=0
bool saveToFile ()
bool internalSaveToFile (const QString &fileName)
Protected Member Functions inherited from OracleWizardPage
OracleWizardwizard ()

Protected Attributes

QByteArray downloadData
QLabel * urlLabel
QLabel * pathLabel
QLineEdit * urlLineEdit
QPushButton * urlButton
QLabel * progressLabel
QProgressBar * progressBar
QCheckBox * defaultPathCheckBox

Private Slots

void actRestoreDefaultUrl ()
void actDownloadProgress (qint64 received, qint64 total)
void actDownloadFinished ()

Constructor & Destructor Documentation

◆ SimpleDownloadFilePage()

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

Member Function Documentation

◆ actDownloadFinished

void SimpleDownloadFilePage::actDownloadFinished ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actDownloadProgress

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

◆ actRestoreDefaultUrl

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

◆ downloadFile()

void SimpleDownloadFilePage::downloadFile ( QUrl url)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCustomUrlSettingsKey()

virtual QString SimpleDownloadFilePage::getCustomUrlSettingsKey ( )
protectedpure virtual

Implemented in LoadSpoilersPage, and LoadTokensPage.

Here is the caller graph for this function:

◆ getDefaultSavePath()

virtual QString SimpleDownloadFilePage::getDefaultSavePath ( )
protectedpure virtual

Implemented in LoadSpoilersPage, and LoadTokensPage.

Here is the caller graph for this function:

◆ getDefaultUrl()

virtual QString SimpleDownloadFilePage::getDefaultUrl ( )
protectedpure virtual

Implemented in LoadSpoilersPage, and LoadTokensPage.

Here is the caller graph for this function:

◆ getFileType()

virtual QString SimpleDownloadFilePage::getFileType ( )
protectedpure virtual

Implemented in LoadSpoilersPage, and LoadTokensPage.

Here is the caller graph for this function:

◆ getWindowTitle()

virtual QString SimpleDownloadFilePage::getWindowTitle ( )
protectedpure virtual

Implemented in LoadSpoilersPage, and LoadTokensPage.

Here is the caller graph for this function:

◆ initializePage()

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

◆ internalSaveToFile()

bool SimpleDownloadFilePage::internalSaveToFile ( const QString & fileName)
protected
Here is the caller graph for this function:

◆ parsedDataReady

void SimpleDownloadFilePage::parsedDataReady ( )
signal

◆ saveToFile()

bool SimpleDownloadFilePage::saveToFile ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validatePage()

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

Member Data Documentation

◆ defaultPathCheckBox

QCheckBox* SimpleDownloadFilePage::defaultPathCheckBox
protected

◆ downloadData

QByteArray SimpleDownloadFilePage::downloadData
protected

◆ pathLabel

QLabel* SimpleDownloadFilePage::pathLabel
protected

◆ progressBar

QProgressBar* SimpleDownloadFilePage::progressBar
protected

◆ progressLabel

QLabel* SimpleDownloadFilePage::progressLabel
protected

◆ urlButton

QPushButton* SimpleDownloadFilePage::urlButton
protected

◆ urlLabel

QLabel* SimpleDownloadFilePage::urlLabel
protected

◆ urlLineEdit

QLineEdit* SimpleDownloadFilePage::urlLineEdit
protected

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