aboutsummaryrefslogtreecommitdiffstats
path: root/wallet.qml
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-21 20:23:35 +0800
committerobscuren <geffobscura@gmail.com>2014-02-21 20:23:35 +0800
commit95a48cea18eccd4ea2cb298027dbd01bd21f43e8 (patch)
tree2a8352bd42a990c26de155fd8c30d9eca0064ed1 /wallet.qml
parentaaac0c9998ee78d796c1dbab118f721f886ce426 (diff)
downloadgo-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.tar
go-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.tar.gz
go-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.tar.bz2
go-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.tar.lz
go-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.tar.xz
go-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.tar.zst
go-tangerine-95a48cea18eccd4ea2cb298027dbd01bd21f43e8.zip
Peer amount update
Diffstat (limited to 'wallet.qml')
-rw-r--r--wallet.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/wallet.qml b/wallet.qml
index cbce7ebcc..b19e7f32b 100644
--- a/wallet.qml
+++ b/wallet.qml
@@ -71,11 +71,30 @@ ApplicationWindow {
statusBar: StatusBar {
RowLayout {
+ anchors.fill: parent
Label { text: "0.0.1" }
+ Label {
+ anchors.right: peerImage.left
+ anchors.rightMargin: 5
+ id: peerLabel
+ font.pixelSize: 8
+ text: "0 / 0"
+ }
+
+ Image {
+ id: peerImage
+ anchors.right: parent.right
+ width: 10; height: 10
+ source: "network.png"
+ }
}
}
function addBlock(block) {
blockModel.insert(0, {number: block.number, hash: block.hash})
}
+
+ function setPeers(text) {
+ peerLabel.text = text
+ }
}