add GameLobbyDialog
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "createnetworkgamedialogimpl.h"
|
||||
#include "startnetworkgamedialogimpl.h"
|
||||
#include "changehumanplayernamedialogimpl.h"
|
||||
#include "gamelobbydialogimpl.h"
|
||||
|
||||
#include "startsplash.h"
|
||||
#include "mycardspixmaplabel.h"
|
||||
@@ -528,7 +529,8 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
|
||||
myStartNetworkGameDialog = new startNetworkGameDialogImpl(this, myConfig);
|
||||
myCreateNetworkGameDialog = new createNetworkGameDialogImpl(this, myConfig);
|
||||
myAboutPokerthDialog = new aboutPokerthImpl(this);
|
||||
|
||||
myGameLobbyDialog = new gameLobbyDialogImpl(this, myConfig);
|
||||
|
||||
myStartNetworkGameDialog->setMyW(this);
|
||||
|
||||
// //ShortCuts
|
||||
@@ -578,6 +580,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect( actionSettings, SIGNAL( triggered() ), this, SLOT( callSettingsDialog() ) );
|
||||
connect( actionJoin_network_Game, SIGNAL( triggered() ), this, SLOT( callJoinNetworkGameDialog() ) );
|
||||
connect( actionCreate_network_Game, SIGNAL( triggered() ), this, SLOT( callCreateNetworkGameDialog() ) );
|
||||
connect( actionInternet_Game, SIGNAL( triggered() ), this, SLOT( callGameLobbyDialog() ) );
|
||||
connect( actionQuit, SIGNAL( triggered() ), this, SLOT( quitPokerTH() ) );
|
||||
connect( actionFullScreen, SIGNAL( triggered() ), this, SLOT( switchFullscreen() ) );
|
||||
connect( actionShowHideChat, SIGNAL( triggered() ), this, SLOT( switchChatWindow() ) );
|
||||
@@ -803,6 +806,11 @@ void mainWindowImpl::callJoinNetworkGameDialog() {
|
||||
}
|
||||
}
|
||||
|
||||
void mainWindowImpl::callGameLobbyDialog() {
|
||||
|
||||
myGameLobbyDialog->exec();
|
||||
}
|
||||
|
||||
void mainWindowImpl::callSettingsDialog() {
|
||||
|
||||
mySettingsDialog->exec();
|
||||
|
||||
@@ -49,6 +49,7 @@ class connectToServerDialogImpl;
|
||||
class createNetworkGameDialogImpl;
|
||||
class startNetworkGameDialogImpl;
|
||||
class changeHumanPlayerNameDialogImpl;
|
||||
class gameLobbyDialogImpl;
|
||||
|
||||
class QColor;
|
||||
|
||||
@@ -168,6 +169,7 @@ public slots:
|
||||
void callSettingsDialog();
|
||||
void callCreateNetworkGameDialog();
|
||||
void callJoinNetworkGameDialog();
|
||||
void callGameLobbyDialog();
|
||||
|
||||
void myBetRaise();
|
||||
void myFoldAllin();
|
||||
@@ -378,6 +380,8 @@ private:
|
||||
connectToServerDialogImpl *myConnectToServerDialog;
|
||||
startNetworkGameDialogImpl *myStartNetworkGameDialog;
|
||||
createNetworkGameDialogImpl *myCreateNetworkGameDialog;
|
||||
gameLobbyDialogImpl *myGameLobbyDialog;
|
||||
|
||||
|
||||
//Sound
|
||||
SDLPlayer *mySDLPlayer;
|
||||
|
||||
Reference in New Issue
Block a user