[Qt-chat] it works, though ugly...