design
This commit is contained in:
parent
32e3b3567c
commit
d5baaa74d2
@ -20,12 +20,14 @@ class start(QtGui.QDialog):
|
|||||||
|
|
||||||
html = html.replace('<', '<')
|
html = html.replace('<', '<')
|
||||||
html = html.replace('>', '>')
|
html = html.replace('>', '>')
|
||||||
|
html = html.replace(':-)', '☺')
|
||||||
|
html = html.replace(':-(', '☹')
|
||||||
|
|
||||||
return html
|
return html
|
||||||
|
|
||||||
|
|
||||||
def ShowMessageAsText(self, txt):
|
def ShowMessageAsText(self, txt):
|
||||||
self.message_buffer += '<br><span style="color : red"> ' + self.getTimeStamp() + '</span>' + self.htmlToText(txt) + ''
|
self.message_buffer += '<br><span style="color : grey"> ' + self.getTimeStamp() + '</span> <span style="color : red"> <BOB> </span> ' + self.htmlToText(txt) + ''
|
||||||
|
|
||||||
def UpdateChat(self, messgServeur) :
|
def UpdateChat(self, messgServeur) :
|
||||||
self.ShowMessageAsText(messgServeur)
|
self.ShowMessageAsText(messgServeur)
|
||||||
|
Reference in New Issue
Block a user