aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/qml
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-06-03 16:42:36 +0800
committerMaran <maran.hidskes@gmail.com>2014-06-03 16:42:36 +0800
commit9e411d785bc4e104183dda537488f8aa2906ec13 (patch)
treef3c6169a63346a7bcb626c9a7712b0b792c08a9f /ethereal/assets/qml
parenta6f4eef1dadee9d8caa9b0ac20e2ce4a3034a100 (diff)
downloadgo-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.tar
go-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.tar.gz
go-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.tar.bz2
go-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.tar.lz
go-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.tar.xz
go-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.tar.zst
go-tangerine-9e411d785bc4e104183dda537488f8aa2906ec13.zip
Tweaks and latency added to peeroverview
Diffstat (limited to 'ethereal/assets/qml')
-rw-r--r--ethereal/assets/qml/wallet.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index 8c04c6344..b626bf044 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -637,7 +637,7 @@ ApplicationWindow {
function addPeer(peer) {
// We could just append the whole peer object but it cries if you try to alter them
- peerModel.append({ip: peer.ip, port: peer.port, lastResponse:timeAgo(peer.lastSend), version: peer.version})
+ peerModel.append({ip: peer.ip, port: peer.port, lastResponse:timeAgo(peer.lastSend), latency: peer.latency, version: peer.version})
}
function resetPeers(){
@@ -666,7 +666,7 @@ ApplicationWindow {
Window {
id: peerWindow
height: 200
- width: 500
+ width: 700
Rectangle {
anchors.fill: parent
property var peerModel: ListModel {
@@ -676,10 +676,11 @@ ApplicationWindow {
anchors.fill: parent
id: peerTable
model: peerModel
- TableViewColumn{width: 120; role: "ip" ; title: "IP" }
+ TableViewColumn{width: 100; role: "ip" ; title: "IP" }
TableViewColumn{width: 60; role: "port" ; title: "Port" }
- TableViewColumn{width: 120; role: "lastResponse"; title: "Last event" }
- TableViewColumn{width: 180; role: "version" ; title: "Version" }
+ TableViewColumn{width: 140; role: "lastResponse"; title: "Last event" }
+ TableViewColumn{width: 100; role: "latency"; title: "Latency" }
+ TableViewColumn{width: 260; role: "version" ; title: "Version" }
}
}
}