aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2017-12-07 16:35:42 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:01 +0100
commitaf9e4e86f0bb4f63fbf516fd5b984a58668495a8 (patch)
tree3c2abf5fab58ba06522bc5090e6ab854432e90d7 /wizard
parent5028491ab3791673fbb21abdeec978da83f222ee (diff)
downloadmonzero-gui-af9e4e86f0bb4f63fbf516fd5b984a58668495a8.tar.gz
monzero-gui-af9e4e86f0bb4f63fbf516fd5b984a58668495a8.tar.xz
monzero-gui-af9e4e86f0bb4f63fbf516fd5b984a58668495a8.zip
Replacing checkbox, using default values from component
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardConfigure.qml6
-rw-r--r--wizard/WizardDaemonSettings.qml4
-rw-r--r--wizard/WizardDonation.qml4
-rw-r--r--wizard/WizardOptions.qml23
4 files changed, 1 insertions, 36 deletions
diff --git a/wizard/WizardConfigure.qml b/wizard/WizardConfigure.qml
index 88d10a31..c7184f95 100644
--- a/wizard/WizardConfigure.qml
+++ b/wizard/WizardConfigure.qml
@@ -100,8 +100,6 @@ Item {
background: "#F0EEEE"
fontColor: "#4A4646"
fontSize: 18
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: true
}
@@ -129,8 +127,6 @@ Item {
background: "#F0EEEE"
fontColor: "#4A4646"
fontSize: 18
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: true
}
@@ -160,8 +156,6 @@ Item {
background: "#F0EEEE"
fontColor: "#4A4646"
fontSize: 18
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: true
}
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml
index ca15fc44..419e3cd5 100644
--- a/wizard/WizardDaemonSettings.qml
+++ b/wizard/WizardDaemonSettings.qml
@@ -127,8 +127,6 @@ ColumnLayout {
background: "#FFFFFF"
fontColor: "#4A4646"
fontSize: 16 * scaleRatio
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: !appWindow.persistentSettings.useRemoteNode && !isAndroid && !isIOS
visible: !isAndroid && !isIOS
onClicked: {
@@ -189,8 +187,6 @@ ColumnLayout {
background: "#FFFFFF"
fontColor: "#4A4646"
fontSize: 16 * scaleRatio
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: appWindow.persistentSettings.useRemoteNode
onClicked: {
checked = true
diff --git a/wizard/WizardDonation.qml b/wizard/WizardDonation.qml
index 1fccbebb..a5ebb6cc 100644
--- a/wizard/WizardDonation.qml
+++ b/wizard/WizardDonation.qml
@@ -114,8 +114,6 @@ Item {
background: "#F0EEEE"
fontColor: "#4A4646"
fontSize: 18
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: true
}
@@ -179,8 +177,6 @@ Item {
background: "#F0EEEE"
fontColor: "#4A4646"
fontSize: 18
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
checked: true
}
diff --git a/wizard/WizardOptions.qml b/wizard/WizardOptions.qml
index 7a9ffa62..d0e6b930 100644
--- a/wizard/WizardOptions.qml
+++ b/wizard/WizardOptions.qml
@@ -248,28 +248,7 @@ ColumnLayout {
background: "#FFFFFF"
fontColor: "#4A4646"
fontSize: 16 * scaleRatio
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
- checked: appWindow.persistentSettings.nettype === NetworkType.TESTNET;
- onClicked: {
- persistentSettings.nettype = testNet.checked ? NetworkType.TESTNET : NetworkType.MAINNET
- stageNet.checked = false;
- console.log("Network type set to ", persistentSettings.nettype === NetworkType.TESTNET ? "Testnet" : "Mainnet")
- }
- }
- }
-
- Rectangle {
- width: 100 * scaleRatio
- CheckBox {
- id: stageNet
- text: qsTr("Stagenet") + translationManager.emptyString
- background: "#FFFFFF"
- fontColor: "#4A4646"
- fontSize: 16 * scaleRatio
- checkedIcon: "../images/checkedVioletIcon.png"
- uncheckedIcon: "../images/uncheckedIcon.png"
- checked: appWindow.persistentSettings.nettype === NetworkType.STAGENET;
+ checked: appWindow.persistentSettings.testnet;
onClicked: {
persistentSettings.nettype = stageNet.checked ? NetworkType.STAGENET : NetworkType.MAINNET
testNet.checked = false;