From 6d171ff511785c70ad910a50a6538636d7b3cac9 Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 21 Aug 2014 20:13:38 +0200 Subject: Turbo mining flag --- ethereal/assets/qml/wallet.qml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'ethereal/assets/qml') diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index 80481f1bc..90cc42a1f 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -157,6 +157,21 @@ ApplicationWindow { }) } } + + MenuSeparator {} + + MenuItem { + id: miningSpeed + text: "Mining: Turbo" + onTriggered: { + gui.toggleTurboMining() + if(text == "Mining: Turbo") { + text = "Mining: Normal"; + } else { + text = "Mining: Turbo"; + } + } + } } Menu { @@ -218,6 +233,15 @@ ApplicationWindow { } } + Label { + y: 6 + objectName: "miningLabel" + visible: true + font.pixelSize: 10 + anchors.right: lastBlockLabel.left + anchors.rightMargin: 5 + } + Label { y: 6 id: lastBlockLabel -- cgit v1.2.3