Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(ui): add tooltip to about friend window
Browse files Browse the repository at this point in the history
This is to explain what the public key can be used for and that it's not
a ToxID.
  • Loading branch information
sudden6 committed Feb 19, 2019
1 parent 9caeb94 commit 4e76084
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/widget/about/aboutfriendform.ui
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AboutFriendForm</class>
<widget class="QDialog" name="AboutUser">
<widget class="QDialog" name="AboutFriendForm">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>506</width>
<height>473</height>
<height>521</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -111,11 +111,14 @@
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This is the public key of your friend, use it to verify their identity via another channel. You can not send this to other people so they can add this contact.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Public key:</string>
<string>Public key (no ToxID):</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -284,7 +287,7 @@
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>AboutUser</receiver>
<receiver>AboutFriendForm</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
Expand All @@ -300,7 +303,7 @@
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>AboutUser</receiver>
<receiver>AboutFriendForm</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
Expand Down

0 comments on commit 4e76084

Please sign in to comment.