Add ChatLine item
[quassel.git] / src / qmlui / qml / ChatLine.qml
diff --git a/src/qmlui/qml/ChatLine.qml b/src/qmlui/qml/ChatLine.qml
new file mode 100644 (file)
index 0000000..1cf3ae8
--- /dev/null
@@ -0,0 +1,11 @@
+import QtQuick 1.1
+
+Item {
+  Row {
+    id: chatLine
+    Text { text: timestamp; wrapMode: Text.NoWrap; width: 100 }
+    Text { text: sender; wrapMode: Text.NoWrap; width: 100 }
+    Text { text: contents; wrapMode: Text.Wrap; width: chatView.width-200}
+  }
+  height: chatLine.height
+}