some improvements
This commit is contained in:
parent
3b5e869055
commit
ce7f6e03f5
5 changed files with 39 additions and 22 deletions
|
|
@ -60,9 +60,9 @@ class MessageItem(QtGui.QWidget):
|
|||
self.message.setStyleSheet("QTextEdit { color: #4169E1; }")
|
||||
else:
|
||||
if text[0] == '>':
|
||||
self.message.setStyleSheet("QPlainTextEdit { color: green; }")
|
||||
self.message.setStyleSheet("QTextEdit { color: green; }")
|
||||
if text[-1] == '<':
|
||||
self.message.setStyleSheet("QPlainTextEdit { color: red; }")
|
||||
self.message.setStyleSheet("QTextEdit { color: red; }")
|
||||
|
||||
|
||||
class ContactItem(QtGui.QWidget):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue