More QML fidgetery
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 19 Nov 2011 10:12:08 +0000 (11:12 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 19 Nov 2011 10:12:08 +0000 (11:12 +0100)
commit8ec1029ae729b443f9df955dabf831397341abe6
tree502aadf718d1e3c8d6e97097919961fe435f5d3e
parentaebd09e08b2afb4e21fa0f5a0044be6d80e8f52e
More QML fidgetery

While playing around with various approaches to how to implement ChatView in QML, I think slowly
things are shaping up. We now have extended the QmlMessageModel to provide all info needed for rendering
a QmlChatLine in one data stracture, in order to avoid numerous calls to the model whenever a ChatLine
is instantiated.

Currently there's a lot of code duplication with the related non-QML classes, but this will either go away
once we decide to kill the QGV-based ChatView, or be unified into a common set of base classes if we
find out that both implementations are going to stay around.
src/qmlui/qml/ChatView.qml
src/qmlui/qmlchatline.cpp
src/qmlui/qmlchatline.h
src/qmlui/qmlmessagemodel.cpp
src/qmlui/qmlmessagemodel.h
src/qmlui/qmlmessagemodelitem.cpp
src/qmlui/qmlmessagemodelitem.h