settings: add daemon manager

This commit is contained in:
Jacob Brydolf 2016-11-05 11:08:35 +01:00 committed by Jaquee
parent 2775124757
commit ae977af2ec
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -37,7 +37,6 @@ import "../components"
import moneroComponents.Clipboard 1.0
Rectangle {
property var daemonAddress
color: "#F0EEEE"
@ -272,6 +271,44 @@ Rectangle {
}
}
RowLayout {
Label {
id: manageDaemonLabel
color: "#4A4949"
text: qsTr("Manage daemon") + translationManager.emptyString
fontSize: 16
}
StandardButton {
visible: true
id: startDaemonButton
width: 110
text: qsTr("Start daemon") + translationManager.emptyString
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
onClicked: {
daemonManager.start();
}
}
StandardButton {
visible: false
id: stopDaemonButton
width: 110
text: qsTr("Stop daemon") + translationManager.emptyString
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
onClicked: {
//daemonManager.stop();
}
}
}
}