Merge pull request #1388

78e0ae1 use radio buttons in daemon wizard
This commit is contained in:
luigi1111 2018-05-11 17:48:06 -05:00
commit 06fdf27be2
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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