From 95a48cea18eccd4ea2cb298027dbd01bd21f43e8 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 21 Feb 2014 13:23:35 +0100 Subject: Peer amount update --- wallet.qml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'wallet.qml') 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 + } } -- cgit v1.2.3