Hi all,
I have a chat program and I don't know how to display strings like "Hello :-)". You see I want to display it like "Hello ". To do so, I need do sort of smilify the text content. I've found and used the following but couldn't make it work.
Qt Code:
doc->setHtml(textMessage); doc->drawContents(painter, messageRect);To copy to clipboard, switch view to plain text mode
I've attached my delegate class for you to analyze if you want.
Regards.
Bookmarks