Interface to display a chat with a list of users. More...
#include <UI/QMLChatWidget.h>
Public Member Functions | |
QMLChatWidget (QWidget *parent=0) | |
Q_SLOT void | setUsersList (const QList< User > &namesList) |
Q_SLOT void | addMessage (QString message) |
Q_SIGNAL void | sendMessage (QString message) |
Protected Member Functions | |
bool | updateQML () |
This function is called by load() after the loading of the QML. Implementers should connect the slots and signals in it, and also send data to QML file (Note: basically, the sending of data to QML should be done before and this will cause showing some warnings, but it is working). |
Interface to display a chat with a list of users.
QMLChatWidget::QMLChatWidget | ( | QWidget * | parent = 0 |
) |
parent |