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

#include <oraclewizard.h>

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

Public Member Functions

 OracleWizard (QWidget *parent=nullptr)
void accept () override
void enableButtons ()
void disableButtons ()
void retranslateUi ()
void setTokensData (QByteArray _tokensData)
bool hasTokensData ()
void setCardSourceUrl (const QString &sourceUrl)
void setCardSourceVersion (const QString &sourceVersion)
const QString & getCardSourceUrl () const
const QString & getCardSourceVersion () const
bool saveTokensToFile (const QString &fileName)
void runInBackground ()

Public Attributes

OracleImporterimporter
QSettings * settings
QNetworkAccessManager * nam
bool downloadedPlainXml = false
QByteArray xmlData
bool backgroundMode = false

Protected Member Functions

void changeEvent (QEvent *event) override

Private Slots

void updateLanguage ()

Private Attributes

QByteArray tokensData
QString cardSourceUrl
QString cardSourceVersion

Constructor & Destructor Documentation

◆ OracleWizard()

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

Member Function Documentation

◆ accept()

void OracleWizard::accept ( )
override
Here is the caller graph for this function:

◆ changeEvent()

void OracleWizard::changeEvent ( QEvent * event)
overrideprotected
Here is the call graph for this function:

◆ disableButtons()

void OracleWizard::disableButtons ( )
Here is the caller graph for this function:

◆ enableButtons()

void OracleWizard::enableButtons ( )
Here is the caller graph for this function:

◆ getCardSourceUrl()

const QString & OracleWizard::getCardSourceUrl ( ) const
inline

◆ getCardSourceVersion()

const QString & OracleWizard::getCardSourceVersion ( ) const
inline

◆ hasTokensData()

bool OracleWizard::hasTokensData ( )
inline

◆ retranslateUi()

void OracleWizard::retranslateUi ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ runInBackground()

void OracleWizard::runInBackground ( )
inline
Here is the caller graph for this function:

◆ saveTokensToFile()

bool OracleWizard::saveTokensToFile ( const QString & fileName)

◆ setCardSourceUrl()

void OracleWizard::setCardSourceUrl ( const QString & sourceUrl)
inline
Here is the caller graph for this function:

◆ setCardSourceVersion()

void OracleWizard::setCardSourceVersion ( const QString & sourceVersion)
inline
Here is the caller graph for this function:

◆ setTokensData()

void OracleWizard::setTokensData ( QByteArray _tokensData)
inline

◆ updateLanguage

void OracleWizard::updateLanguage ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ backgroundMode

bool OracleWizard::backgroundMode = false

◆ cardSourceUrl

QString OracleWizard::cardSourceUrl
private

◆ cardSourceVersion

QString OracleWizard::cardSourceVersion
private

◆ downloadedPlainXml

bool OracleWizard::downloadedPlainXml = false

◆ importer

OracleImporter* OracleWizard::importer

◆ nam

QNetworkAccessManager* OracleWizard::nam

◆ settings

QSettings* OracleWizard::settings

◆ tokensData

QByteArray OracleWizard::tokensData
private

◆ xmlData

QByteArray OracleWizard::xmlData

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