QTfrontend/pages.cpp
changeset 1312 0078e4f72d40
parent 1311 49beb1221c0b
child 1313 f4c54e9e1b8c
--- a/QTfrontend/pages.cpp	Tue Oct 07 12:37:06 2008 +0000
+++ b/QTfrontend/pages.cpp	Wed Oct 08 10:58:21 2008 +0000
@@ -622,5 +622,13 @@
 PageRoomsList::PageRoomsList(QWidget* parent) :
   AbstractPage(parent)
 {
-
+	QGridLayout * pageLayout = new QGridLayout(this);
+	
+	roomsList = new QListWidget(this);
+	pageLayout->addWidget(roomsList, 0, 0, 4, 1);
+	
+	BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true);
+	BtnCreate = addButton(tr("Create"), pageLayout, 0, 1);
+	BtnJoin = addButton(tr("Join"), pageLayout, 1, 1);
+	BtnRefresh = addButton(tr("Refresh"), pageLayout, 2, 1);
 }