use radio buttons in daemon wizard

This commit is contained in:
cryptochangements34 2018-05-11 18:40:10 -04:00
parent b6a7836447
commit 78e0ae1a4e

View file

@ -121,11 +121,11 @@ ColumnLayout {
ColumnLayout { ColumnLayout {
RowLayout { RowLayout {
CheckBox { RadioButton {
id: localNode id: localNode
text: qsTr("Start a node automatically in background or use an already running local node (recommended)") + translationManager.emptyString text: qsTr("Start a node automatically in background (recommended)") + translationManager.emptyString
checkedIcon: "../images/checkedBlackIcon.png" checkedColor: Qt.rgba(0, 0, 0, 0.75)
background: "#FFFFFF" borderColor: Qt.rgba(0, 0, 0, 0.45)
fontColor: "#4A4646" fontColor: "#4A4646"
fontSize: 16 * scaleRatio fontSize: 16 * scaleRatio
checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS
@ -205,12 +205,12 @@ ColumnLayout {
} }
RowLayout { RowLayout {
CheckBox { RadioButton {
id: remoteNode id: remoteNode
text: qsTr("Connect to a remote node") + translationManager.emptyString text: qsTr("Connect to a remote node") + translationManager.emptyString
checkedIcon: "../images/checkedBlackIcon.png" checkedColor: Qt.rgba(0, 0, 0, 0.75)
borderColor: Qt.rgba(0, 0, 0, 0.45)
Layout.topMargin: 20 * scaleRatio Layout.topMargin: 20 * scaleRatio
background: "#FFFFFF"
fontColor: "#4A4646" fontColor: "#4A4646"
fontSize: 16 * scaleRatio fontSize: 16 * scaleRatio
checked: appWindow.persistentSettings.useRemoteNode checked: appWindow.persistentSettings.useRemoteNode