Commit f9a0f4a2 authored by Dan Pascu's avatar Dan Pascu

Adjusted ZRTPWidget colors to be more readable

parent 4dfaf476
...@@ -46,10 +46,10 @@ class ZRTPWidget(base_class, ui_class): ...@@ -46,10 +46,10 @@ class ZRTPWidget(base_class, ui_class):
self.__dict__['peer_verified'] = verified self.__dict__['peer_verified'] = verified
if verified: if verified:
self.validate_button.setText(u'Invalidate') self.validate_button.setText(u'Invalidate')
self.status_value.setText(u'<span style="color: #55ff00;">Verified</span>') self.status_value.setText(u'<span style="color: hsv(100, 85%, 100%);">Verified</span>')
else: else:
self.validate_button.setText(u'Validate') self.validate_button.setText(u'Validate')
self.status_value.setText(u'<span style="color: #ff5500;">Not verified</span>') self.status_value.setText(u'<span style="color: hsv(20, 85%, 100%);">Not verified</span>')
self.validate_button.setChecked(verified) self.validate_button.setChecked(verified)
peer_verified = property(_get_peer_verified, _set_peer_verified) peer_verified = property(_get_peer_verified, _set_peer_verified)
......
...@@ -449,7 +449,7 @@ ...@@ -449,7 +449,7 @@
<item> <item>
<widget class="QLabel" name="status_value"> <widget class="QLabel" name="status_value">
<property name="text"> <property name="text">
<string>&lt;span style=&quot;color: #ff5500;&quot;&gt;Not verified&lt;/span&gt;</string> <string>&lt;span style=&quot;color: hsv(20, 85%, 100%);&quot;&gt;Not verified&lt;/span&gt;</string>
</property> </property>
<property name="role" stdset="0"> <property name="role" stdset="0">
<string notr="true">value</string> <string notr="true">value</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment