send custom commands to daemon

+ status button
requires #1618
This commit is contained in:
Jaquee
2017-01-22 23:04:46 +01:00
parent 2e925b530b
commit ef1d7f92f7
8 changed files with 221 additions and 19 deletions

View File

@@ -241,6 +241,23 @@ Rectangle {
daemonConsolePopup.open();
}
}
StandardButton {
visible: true
id: daemonStatusButton
text: qsTr("Status") + translationManager.emptyString
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
onClicked: {
daemonManager.sendCommand("status",currentWallet.testnet);
daemonConsolePopup.open();
}
}
}
RowLayout {
@@ -416,11 +433,10 @@ Rectangle {
}
// Daemon console
StandardDialog {
DaemonConsole {
id: daemonConsolePopup
height:500
width:800
cancelVisible: false
title: qsTr("Daemon log")
onAccepted: {
close();