QTfrontend/pages.cpp
changeset 1377 a9e768739345
parent 1334 b58afaadf7ae
child 1389 6e411559cc7b
--- a/QTfrontend/pages.cpp	Sat Oct 18 13:45:42 2008 +0000
+++ b/QTfrontend/pages.cpp	Sat Oct 18 13:53:58 2008 +0000
@@ -33,6 +33,7 @@
 #include <QMessageBox>
 #include <QHeaderView>
 #include <QTabWidget>
+#include <QTextBrowser>
 
 #include "pages.h"
 #include "sdlkeys.h"
@@ -629,8 +630,11 @@
 	pageLayout->addWidget(roomName, 0, 0);
 	roomsList = new QListWidget(this);
 	pageLayout->addWidget(roomsList, 1, 0, 3, 1);
+	serverMessage = new QTextBrowser(this);
+	serverMessage->setOpenExternalLinks(true);
+	pageLayout->addWidget(serverMessage, 4, 0, 1, 2);
 	
-	BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true);
+	BtnBack = addButton(":/res/Exit.png", pageLayout, 5, 0, true);
 	BtnCreate = addButton(tr("Create"), pageLayout, 0, 1);
 	BtnJoin = addButton(tr("Join"), pageLayout, 1, 1);
 	BtnRefresh = addButton(tr("Refresh"), pageLayout, 2, 1);
@@ -641,6 +645,7 @@
 	connect(roomsList, SIGNAL(doubleClicked (const QModelIndex &)), this, SLOT(onJoinClick()));
 }
 
+
 void PageRoomsList::setRoomsList(const QStringList & list)
 {
 	roomsList->clear();