From 34e2ab9f9fac7067fa4a4dbe6170283f1d9c682a Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 18 Jul 2014 11:57:58 +0200 Subject: Added block update --- ethereal/assets/qml/wallet.qml | 52 ++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 20 deletions(-) (limited to 'ethereal/assets') diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index 592698d8e..bb1f60260 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -419,6 +419,17 @@ ApplicationWindow { } } + Label { + y: 6 + id: lastBlockLabel + objectName: "lastBlockLabel" + visible: true + text: "" + font.pixelSize: 10 + anchors.right: peerGroup.left + anchors.rightMargin: 5 + } + ProgressBar { id: syncProgressIndicator visible: false @@ -426,29 +437,30 @@ ApplicationWindow { y: 3 width: 140 indeterminate: true - anchors.right: peerLabel.left + anchors.right: peerGroup.left anchors.rightMargin: 5 } - Label { - y: 7 - anchors.right: peerImage.left - anchors.rightMargin: 5 - id: peerLabel - font.pixelSize: 8 - text: "0 / 0" - } - Image { - y: 7 - id: peerImage - anchors.right: parent.right - width: 10; height: 10 - MouseArea { - onDoubleClicked: peerWindow.visible = true - anchors.fill: parent - } - source: "../network.png" - } + RowLayout { + id: peerGroup + y: 7 + anchors.right: parent.right + MouseArea { + onDoubleClicked: peerWindow.visible = true + anchors.fill: parent + } + + Label { + id: peerLabel + font.pixelSize: 8 + text: "0 / 0" + } + Image { + id: peerImage + width: 10; height: 10 + source: "../network.png" + } + } } Window { -- cgit v1.2.3 From 4572d4940c5b027918364e0600fc88a50f73ed16 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 18 Jul 2014 12:02:45 +0200 Subject: Windows don't like dem flags --- ethereal/assets/qml/wallet.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ethereal/assets') diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index bb1f60260..a79e4708c 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -466,7 +466,7 @@ ApplicationWindow { Window { id: popup visible: false - flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint + //flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint property var block width: root.width height: 300 @@ -601,7 +601,7 @@ ApplicationWindow { Window { id: addPeerWin - flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint + //flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint visible: false minimumWidth: 230 maximumWidth: 230 @@ -768,7 +768,7 @@ ApplicationWindow { // ****************************************** Window { id: peerWindow - flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint + //flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint height: 200 width: 700 Rectangle { -- cgit v1.2.3