mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Added view to show/edit contact details
Split ColorHash.qml in a new file so it is reusable ContactSort.js preferred contacts goes before non preferred Contacts.qml use proper id for listview Contacts.qml removed fingerprint popup GxsIdentityDelegate.qml simplified, move link generation to ContactDetails.qml
This commit is contained in:
parent
ccaf4881a8
commit
d0b881f5e0
8 changed files with 243 additions and 116 deletions
|
@ -133,7 +133,7 @@ Item
|
|||
|
||||
ListView
|
||||
{
|
||||
id: locationsListView
|
||||
id: contactsListView
|
||||
width: parent.width
|
||||
height: contactsView.searching ?
|
||||
parent.height - searchBox.height : parent.height
|
||||
|
@ -182,30 +182,6 @@ Item
|
|||
text: "Open Chat as: " + contactsView.own_nick + " " + contactsView.own_gxs_id
|
||||
}
|
||||
|
||||
Popup
|
||||
{
|
||||
id: fingerPrintDialog
|
||||
visible: false
|
||||
property string nick
|
||||
property string gxs_id
|
||||
width: fingerPrintText.contentWidth + 20
|
||||
height: fingerPrintText.contentHeight + 20
|
||||
x: parent.x + parent.width/2 - width/2
|
||||
y: parent.y + parent.height/2 - height/2
|
||||
|
||||
Text
|
||||
{
|
||||
id: fingerPrintText
|
||||
anchors.centerIn: parent
|
||||
text: "<pre>" +
|
||||
fingerPrintDialog.gxs_id.substring(1, 9) + "<br/>" +
|
||||
fingerPrintDialog.gxs_id.substring(9, 17) + "<br/>" +
|
||||
fingerPrintDialog.gxs_id.substring(17, 25) + "<br/>" +
|
||||
fingerPrintDialog.gxs_id.slice(-8) + "<br/>" +
|
||||
"</pre>"
|
||||
}
|
||||
}
|
||||
|
||||
Settings
|
||||
{
|
||||
id: settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue