--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qmlFrontend/qml/qmlFrontend/Room.qml Sat Nov 21 23:56:41 2015 +0300
@@ -0,0 +1,29 @@
+import QtQuick 2.0
+import Hedgewars.Engine 1.0
+
+Rectangle {
+ HWButton {
+ id: btnBack
+ width: 40
+ height: 40
+ anchors.left: parent.left
+ anchors.bottom: parent.bottom
+
+ onClicked: HWEngine.partRoom("")
+ }
+
+ Chat {
+ id: roomChat;
+ x: 0;
+ width: parent.width;
+ height: 250;
+ anchors.bottom: btnBack.top
+
+ Connections {
+ target: HWEngine
+ onRoomChatLine: roomChat.addChatLine(nickname, line)
+ onRoomClientAdded: roomChat.addClient(clientName)
+ onRoomClientRemoved: roomChat.removeClient(clientName, reason)
+ }
+ }
+}