gui preperation for log export and live preview
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "chattools.h"
|
||||
#include "serverlistdialogimpl.h"
|
||||
#include "internetgamelogindialogimpl.h"
|
||||
#include "guilog.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -85,6 +86,7 @@ startWindowImpl::startWindowImpl(ConfigFile *c)
|
||||
|
||||
myStartNetworkGameDialog->setMyW(myGuiInterface->getMyW());
|
||||
myGameLobbyDialog->setMyW(myGuiInterface->getMyW());
|
||||
mySettingsDialog->setGuiLog(myGuiLog);
|
||||
|
||||
myTimeoutDialog = new timeoutMsgBoxImpl(this);
|
||||
myServerListDialog = new serverListDialogImpl(this, this, myConfig);
|
||||
|
||||
@@ -50,6 +50,7 @@ class gameLobbyDialogImpl;
|
||||
class timeoutMsgBoxImpl;
|
||||
class serverListDialogImpl;
|
||||
class internetGameLoginDialogImpl;
|
||||
class guiLog;
|
||||
|
||||
class startWindowImpl: public QMainWindow, public Ui::startWindow
|
||||
{
|
||||
@@ -72,6 +73,10 @@ public:
|
||||
return myConnectToServerDialog;
|
||||
}
|
||||
|
||||
void setGuiLog(guiLog* l) {
|
||||
myGuiLog = l;
|
||||
}
|
||||
|
||||
// void keyPressEvent( QKeyEvent *);
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
|
||||
@@ -149,6 +154,7 @@ public slots:
|
||||
|
||||
private:
|
||||
ConfigFile *myConfig;
|
||||
guiLog *myGuiLog;
|
||||
|
||||
boost::shared_ptr<GuiInterface> myGuiInterface;
|
||||
boost::shared_ptr<Session> mySession;
|
||||
|
||||
Reference in New Issue
Block a user