#include <window_main.h>
|
| void | updateTabMenu (const QList< QMenu * > &newMenuList) |
| void | statusChanged (ClientStatus _status) |
| void | processConnectionClosedEvent (const Event_ConnectionClosed &event) |
| void | processServerShutdownEvent (const Event_ServerShutdown &event) |
| void | serverTimeout () |
| void | loginError (Response::ResponseCode r, QString reasonStr, quint32 endTime, QList< QString > missingFeatures) |
| void | registerError (Response::ResponseCode r, QString reasonStr, quint32 endTime) |
| void | activateError () |
| void | socketError (const QString &errorStr) |
| void | protocolVersionMismatch (int localVersion, int remoteVersion) |
| void | userInfoReceived (const ServerInfo_User &userInfo) |
| void | registerAccepted () |
| void | registerAcceptedNeedsActivate () |
| void | activateAccepted () |
| void | localGameEnded () |
| void | pixmapCacheSizeChanged (int newSizeInMBs) |
| void | notifyUserAboutUpdate () |
| void | actDisconnect () |
| void | actSinglePlayer () |
| void | actWatchReplay () |
| void | actFullScreen (bool checked) |
| void | actRegister () |
| void | actSettings () |
| void | actForgotPasswordRequest () |
| void | actAbout () |
| void | actTips () |
| void | actUpdate () |
| void | actViewLog () |
| void | actOpenSettingsFolder () |
| void | forgotPasswordSuccess () |
| void | forgotPasswordError () |
| void | promptForgotPasswordReset () |
| void | actShow () |
| void | promptForgotPasswordChallenge () |
| void | showWindowIfHidden () |
| void | cardUpdateError (QProcess::ProcessError err) |
| void | cardUpdateFinished (int exitCode, QProcess::ExitStatus exitStatus) |
| void | refreshShortcuts () |
| void | cardDatabaseLoadingFailed () |
| void | cardDatabaseNewSetsFound (int numUnknownSets, QStringList unknownSetsNames) |
| void | cardDatabaseAllNewSetsEnabled () |
| void | checkClientUpdatesFinished (bool needToUpdate, bool isCompatible, Release *release) |
| void | actOpenCustomFolder () |
| void | actOpenCustomsetsFolder () |
| void | actAddCustomSet () |
| void | actReloadCardDatabase () |
| void | actManageSets () |
| void | actEditTokens () |
| void | startupConfigCheck () |
| void | alertForcedOracleRun (const QString &version, bool isUpdate) |
◆ MainWindow()
| MainWindow::MainWindow |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ ~MainWindow()
| MainWindow::~MainWindow |
( |
| ) |
|
|
override |
◆ actAbout
| void MainWindow::actAbout |
( |
| ) |
|
|
privateslot |
◆ actAddCustomSet
| void MainWindow::actAddCustomSet |
( |
| ) |
|
|
privateslot |
◆ actCheckCardUpdates
| void MainWindow::actCheckCardUpdates |
( |
| ) |
|
|
slot |
◆ actCheckCardUpdatesBackground
| void MainWindow::actCheckCardUpdatesBackground |
( |
| ) |
|
|
slot |
◆ actCheckClientUpdates
| void MainWindow::actCheckClientUpdates |
( |
| ) |
|
|
slot |
◆ actCheckServerUpdates
| void MainWindow::actCheckServerUpdates |
( |
| ) |
|
|
slot |
◆ actConnect
| void MainWindow::actConnect |
( |
| ) |
|
|
slot |
◆ actDisconnect
| void MainWindow::actDisconnect |
( |
| ) |
|
|
privateslot |
◆ actEditTokens
| void MainWindow::actEditTokens |
( |
| ) |
|
|
privateslot |
◆ actExit
| void MainWindow::actExit |
( |
| ) |
|
|
slot |
◆ actForgotPasswordRequest
| void MainWindow::actForgotPasswordRequest |
( |
| ) |
|
|
privateslot |
◆ actFullScreen
| void MainWindow::actFullScreen |
( |
bool | checked | ) |
|
|
privateslot |
◆ activateAccepted
| void MainWindow::activateAccepted |
( |
| ) |
|
|
privateslot |
◆ activateError
| void MainWindow::activateError |
( |
| ) |
|
|
privateslot |
◆ actManageSets
| void MainWindow::actManageSets |
( |
| ) |
|
|
privateslot |
◆ actOpenCustomFolder
| void MainWindow::actOpenCustomFolder |
( |
| ) |
|
|
privateslot |
◆ actOpenCustomsetsFolder
| void MainWindow::actOpenCustomsetsFolder |
( |
| ) |
|
|
privateslot |
◆ actOpenSettingsFolder
| void MainWindow::actOpenSettingsFolder |
( |
| ) |
|
|
privateslot |
◆ actRegister
| void MainWindow::actRegister |
( |
| ) |
|
|
privateslot |
◆ actReloadCardDatabase
| void MainWindow::actReloadCardDatabase |
( |
| ) |
|
|
privateslot |
◆ actSettings
| void MainWindow::actSettings |
( |
| ) |
|
|
privateslot |
◆ actShow
| void MainWindow::actShow |
( |
| ) |
|
|
privateslot |
◆ actSinglePlayer
| void MainWindow::actSinglePlayer |
( |
| ) |
|
|
privateslot |
◆ actTips
| void MainWindow::actTips |
( |
| ) |
|
|
privateslot |
◆ actUpdate
| void MainWindow::actUpdate |
( |
| ) |
|
|
privateslot |
◆ actViewLog
| void MainWindow::actViewLog |
( |
| ) |
|
|
privateslot |
◆ actWatchReplay
| void MainWindow::actWatchReplay |
( |
| ) |
|
|
privateslot |
◆ alertForcedOracleRun
| void MainWindow::alertForcedOracleRun |
( |
const QString & | version, |
|
|
bool | isUpdate ) |
|
privateslot |
◆ cardDatabaseAllNewSetsEnabled
| void MainWindow::cardDatabaseAllNewSetsEnabled |
( |
| ) |
|
|
privateslot |
◆ cardDatabaseLoadingFailed
| void MainWindow::cardDatabaseLoadingFailed |
( |
| ) |
|
|
privateslot |
◆ cardDatabaseNewSetsFound
| void MainWindow::cardDatabaseNewSetsFound |
( |
int | numUnknownSets, |
|
|
QStringList | unknownSetsNames ) |
|
privateslot |
◆ cardUpdateError
| void MainWindow::cardUpdateError |
( |
QProcess::ProcessError | err | ) |
|
|
privateslot |
◆ cardUpdateFinished
| void MainWindow::cardUpdateFinished |
( |
int | exitCode, |
|
|
QProcess::ExitStatus | exitStatus ) |
|
privateslot |
◆ changeEvent()
| void MainWindow::changeEvent |
( |
QEvent * | event | ) |
|
|
overrideprotected |
◆ checkClientUpdatesFinished
| void MainWindow::checkClientUpdatesFinished |
( |
bool | needToUpdate, |
|
|
bool | isCompatible, |
|
|
Release * | release ) |
|
privateslot |
◆ closeEvent()
| void MainWindow::closeEvent |
( |
QCloseEvent * | event | ) |
|
|
overrideprotected |
◆ createActions()
| void MainWindow::createActions |
( |
| ) |
|
|
private |
◆ createCardUpdateProcess()
| void MainWindow::createCardUpdateProcess |
( |
bool | background = false | ) |
|
|
private |
◆ createMenus()
| void MainWindow::createMenus |
( |
| ) |
|
|
private |
◆ createTrayIcon()
| void MainWindow::createTrayIcon |
( |
| ) |
|
|
private |
◆ exitCardDatabaseUpdate()
| void MainWindow::exitCardDatabaseUpdate |
( |
| ) |
|
|
private |
◆ extractInvalidUsernameMessage()
| QString MainWindow::extractInvalidUsernameMessage |
( |
QString & | in | ) |
|
|
protected |
◆ forgotPasswordError
| void MainWindow::forgotPasswordError |
( |
| ) |
|
|
privateslot |
◆ forgotPasswordSuccess
| void MainWindow::forgotPasswordSuccess |
( |
| ) |
|
|
privateslot |
◆ getCardUpdaterBinaryName()
| QString MainWindow::getCardUpdaterBinaryName |
( |
| ) |
|
|
inlineprivate |
◆ getNextCustomSetPrefix()
| int MainWindow::getNextCustomSetPrefix |
( |
QDir | dataDir | ) |
|
|
private |
◆ getTabSupervisor()
◆ localGameEnded
| void MainWindow::localGameEnded |
( |
| ) |
|
|
privateslot |
◆ loginError
| void MainWindow::loginError |
( |
Response::ResponseCode | r, |
|
|
QString | reasonStr, |
|
|
quint32 | endTime, |
|
|
QList< QString > | missingFeatures ) |
|
privateslot |
◆ notifyUserAboutUpdate
| void MainWindow::notifyUserAboutUpdate |
( |
| ) |
|
|
privateslot |
◆ pixmapCacheSizeChanged
| void MainWindow::pixmapCacheSizeChanged |
( |
int | newSizeInMBs | ) |
|
|
privateslot |
◆ processConnectionClosedEvent
| void MainWindow::processConnectionClosedEvent |
( |
const Event_ConnectionClosed & | event | ) |
|
|
privateslot |
◆ processServerShutdownEvent
| void MainWindow::processServerShutdownEvent |
( |
const Event_ServerShutdown & | event | ) |
|
|
privateslot |
◆ promptForgotPasswordChallenge
| void MainWindow::promptForgotPasswordChallenge |
( |
| ) |
|
|
privateslot |
◆ promptForgotPasswordReset
| void MainWindow::promptForgotPasswordReset |
( |
| ) |
|
|
privateslot |
◆ protocolVersionMismatch
| void MainWindow::protocolVersionMismatch |
( |
int | localVersion, |
|
|
int | remoteVersion ) |
|
privateslot |
◆ refreshShortcuts
| void MainWindow::refreshShortcuts |
( |
| ) |
|
|
privateslot |
◆ registerAccepted
| void MainWindow::registerAccepted |
( |
| ) |
|
|
privateslot |
◆ registerAcceptedNeedsActivate
| void MainWindow::registerAcceptedNeedsActivate |
( |
| ) |
|
|
privateslot |
◆ registerError
| void MainWindow::registerError |
( |
Response::ResponseCode | r, |
|
|
QString | reasonStr, |
|
|
quint32 | endTime ) |
|
privateslot |
◆ retranslateUi()
| void MainWindow::retranslateUi |
( |
| ) |
|
|
private |
◆ serverTimeout
| void MainWindow::serverTimeout |
( |
| ) |
|
|
privateslot |
◆ setClientStatusTitle()
| void MainWindow::setClientStatusTitle |
( |
| ) |
|
|
private |
◆ setConnectTo()
| void MainWindow::setConnectTo |
( |
QString | url | ) |
|
|
inline |
◆ showWindowIfHidden
| void MainWindow::showWindowIfHidden |
( |
| ) |
|
|
privateslot |
◆ socketError
| void MainWindow::socketError |
( |
const QString & | errorStr | ) |
|
|
privateslot |
◆ startLocalGame()
| void MainWindow::startLocalGame |
( |
int | numberPlayers | ) |
|
|
private |
◆ startupConfigCheck
| void MainWindow::startupConfigCheck |
( |
| ) |
|
|
privateslot |
◆ statusChanged
◆ updateTabMenu
| void MainWindow::updateTabMenu |
( |
const QList< QMenu * > & | newMenuList | ) |
|
|
privateslot |
Replaces the tab-specific menus that are shown in the menuBar.
- Parameters
-
| newMenuList | The tab-specific menus to show in the menuBar |
◆ userInfoReceived
| void MainWindow::userInfoReceived |
( |
const ServerInfo_User & | userInfo | ) |
|
|
privateslot |
◆ aAbout
| QAction* MainWindow::aAbout |
|
private |
◆ aAddCustomSet
| QAction * MainWindow::aAddCustomSet |
|
private |
◆ aCheckCardUpdates
| QAction * MainWindow::aCheckCardUpdates |
|
private |
◆ aCheckCardUpdatesBackground
| QAction * MainWindow::aCheckCardUpdatesBackground |
|
private |
◆ aConnect
| QAction* MainWindow::aConnect |
|
private |
◆ aDisconnect
| QAction * MainWindow::aDisconnect |
|
private |
◆ aEditTokens
| QAction * MainWindow::aEditTokens |
|
private |
◆ aExit
| QAction * MainWindow::aExit |
|
private |
◆ aForgotPassword
| QAction * MainWindow::aForgotPassword |
|
private |
◆ aFullScreen
| QAction * MainWindow::aFullScreen |
|
private |
◆ aManageSets
| QAction* MainWindow::aManageSets |
|
private |
◆ aOpenCustomFolder
| QAction * MainWindow::aOpenCustomFolder |
|
private |
◆ aOpenCustomsetsFolder
| QAction * MainWindow::aOpenCustomsetsFolder |
|
private |
◆ aOpenSettingsFolder
| QAction * MainWindow::aOpenSettingsFolder |
|
private |
◆ appName
| const QString MainWindow::appName = "Cockatrice" |
|
staticprivate |
◆ aRegister
| QAction * MainWindow::aRegister |
|
private |
◆ aReloadCardDatabase
| QAction * MainWindow::aReloadCardDatabase |
|
private |
◆ aSettings
| QAction * MainWindow::aSettings |
|
private |
◆ aShow
| QAction * MainWindow::aShow |
|
private |
◆ aSinglePlayer
| QAction * MainWindow::aSinglePlayer |
|
private |
◆ askedForDbUpdater
| bool MainWindow::askedForDbUpdater |
|
private |
◆ aStatusBar
| QAction * MainWindow::aStatusBar |
|
private |
◆ aTips
| QAction* MainWindow::aTips |
|
private |
◆ aUpdate
| QAction * MainWindow::aUpdate |
|
private |
◆ aViewLog
| QAction * MainWindow::aViewLog |
|
private |
◆ aWatchReplay
| QAction * MainWindow::aWatchReplay |
|
private |
◆ bHasActivated
| bool MainWindow::bHasActivated |
|
private |
◆ cardUpdateProcess
| QProcess* MainWindow::cardUpdateProcess |
|
private |
◆ client
◆ clientThread
| QThread* MainWindow::clientThread |
|
private |
◆ cockatriceMenu
| QMenu* MainWindow::cockatriceMenu |
|
private |
◆ connectTo
| QUrl MainWindow::connectTo |
|
private |
◆ dbMenu
| QMenu * MainWindow::dbMenu |
|
private |
◆ dlgConnect
◆ fileNameFilters
| const QStringList MainWindow::fileNameFilters |
|
staticprivate |
Initial value:= QStringList() << QObject::tr("Cockatrice card database (*.xml)")
<< QObject::tr("All files (*.*)")
◆ helpMenu
| QMenu * MainWindow::helpMenu |
|
private |
◆ localServer
◆ logviewDialog
◆ replay
| GameReplay* MainWindow::replay |
|
private |
◆ serverShutdownMessageBox
| QMessageBox MainWindow::serverShutdownMessageBox |
|
private |
◆ tabMenus
| QList<QMenu *> MainWindow::tabMenus |
|
private |
◆ tabsMenu
| QMenu * MainWindow::tabsMenu |
|
private |
◆ tabSupervisor
◆ tip
◆ trayIconMenu
| QMenu * MainWindow::trayIconMenu |
|
private |
◆ wndSets
The documentation for this class was generated from the following files: