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

#include <dlg_update.h>

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

Public Member Functions

 DlgUpdate (QWidget *parent)

Private Slots

void finishedUpdateCheck (bool needToUpdate, bool isCompatible, Release *release)
void gotoDownloadPage ()
void downloadUpdate (const QString &releaseName)
void cancelDownload ()
void updateCheckError (const QString &errorString)
void downloadSuccessful (const QUrl &filepath)
void downloadProgressMade (qint64 bytesRead, qint64 totalBytes)
void downloadError (const QString &errorString)
void closeDialog ()

Private Member Functions

void enableUpdateButton (bool enable)
void enableOkButton (bool enable)
void addStopDownloadAndRemoveOthers (bool enable)
void beginUpdateCheck ()
void setLabel (const QString &text)

Private Attributes

QUrl updateUrl
QLabel * statusLabel
QLabel * descriptionLabel
QProgressBar * progress
QPushButton * manualDownload
QPushButton * gotoDownload
QPushButton * ok
QPushButton * stopDownload
QPushButton * cancel
UpdateDownloaderuDownloader
QDialogButtonBox * buttonBox

Constructor & Destructor Documentation

◆ DlgUpdate()

DlgUpdate::DlgUpdate ( QWidget * parent)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ addStopDownloadAndRemoveOthers()

void DlgUpdate::addStopDownloadAndRemoveOthers ( bool enable)
private
Here is the caller graph for this function:

◆ beginUpdateCheck()

void DlgUpdate::beginUpdateCheck ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cancelDownload

void DlgUpdate::cancelDownload ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeDialog

void DlgUpdate::closeDialog ( )
privateslot
Here is the caller graph for this function:

◆ downloadError

void DlgUpdate::downloadError ( const QString & errorString)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ downloadProgressMade

void DlgUpdate::downloadProgressMade ( qint64 bytesRead,
qint64 totalBytes )
privateslot
Here is the caller graph for this function:

◆ downloadSuccessful

void DlgUpdate::downloadSuccessful ( const QUrl & filepath)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ downloadUpdate

void DlgUpdate::downloadUpdate ( const QString & releaseName)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ enableOkButton()

void DlgUpdate::enableOkButton ( bool enable)
private

◆ enableUpdateButton()

void DlgUpdate::enableUpdateButton ( bool enable)
private
Here is the caller graph for this function:

◆ finishedUpdateCheck

void DlgUpdate::finishedUpdateCheck ( bool needToUpdate,
bool isCompatible,
Release * release )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gotoDownloadPage

void DlgUpdate::gotoDownloadPage ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLabel()

void DlgUpdate::setLabel ( const QString & text)
private
Here is the caller graph for this function:

◆ updateCheckError

void DlgUpdate::updateCheckError ( const QString & errorString)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ buttonBox

QDialogButtonBox* DlgUpdate::buttonBox
private

◆ cancel

QPushButton* DlgUpdate::cancel
private

◆ descriptionLabel

QLabel * DlgUpdate::descriptionLabel
private

◆ gotoDownload

QPushButton * DlgUpdate::gotoDownload
private

◆ manualDownload

QPushButton* DlgUpdate::manualDownload
private

◆ ok

QPushButton * DlgUpdate::ok
private

◆ progress

QProgressBar* DlgUpdate::progress
private

◆ statusLabel

QLabel* DlgUpdate::statusLabel
private

◆ stopDownload

QPushButton * DlgUpdate::stopDownload
private

◆ uDownloader

UpdateDownloader* DlgUpdate::uDownloader
private

◆ updateUrl

QUrl DlgUpdate::updateUrl
private

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