Add functionality of endorsement
diff --git a/src/contactpanel.ui b/src/contactpanel.ui
index 08c15a3..44e4250 100644
--- a/src/contactpanel.ui
+++ b/src/contactpanel.ui
@@ -184,7 +184,7 @@
<rect>
<x>20</x>
<y>10</y>
- <width>351</width>
+ <width>362</width>
<height>371</height>
</rect>
</property>
@@ -197,7 +197,11 @@
</widget>
</item>
<item>
- <widget class="QListView" name="trustScopeList"/>
+ <widget class="QTableView" name="trustScopeList">
+ <attribute name="horizontalHeaderStretchLastSection">
+ <bool>true</bool>
+ </attribute>
+ </widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
@@ -221,6 +225,16 @@
</property>
</widget>
</item>
+ <item>
+ <widget class="QPushButton" name="saveButton">
+ <property name="text">
+ <string>Save</string>
+ </property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
</layout>
</item>
</layout>
@@ -230,7 +244,7 @@
<attribute name="title">
<string>Endorse</string>
</attribute>
- <widget class="QTableWidget" name="endorseList">
+ <widget class="QTableView" name="endorseList">
<property name="geometry">
<rect>
<x>20</x>
@@ -239,6 +253,9 @@
<height>331</height>
</rect>
</property>
+ <attribute name="horizontalHeaderStretchLastSection">
+ <bool>true</bool>
+ </attribute>
</widget>
<widget class="QPushButton" name="endorseButton">
<property name="geometry">
@@ -252,6 +269,9 @@
<property name="text">
<string>Endorse</string>
</property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
</widget>
</widget>
</widget>
@@ -268,6 +288,9 @@
<property name="text">
<string>Add Contact</string>
</property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
</widget>
</item>
<item>
@@ -275,6 +298,9 @@
<property name="text">
<string>Setting</string>
</property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
</widget>
</item>
<item>
@@ -282,6 +308,9 @@
<property name="text">
<string>Edit Profile</string>
</property>
+ <property name="autoDefault">
+ <bool>false</bool>
+ </property>
</widget>
</item>
</layout>