Browse Source
This is much less intimidating than asking if the user wants to use a proxy out of the gate.master
14 changed files with 126 additions and 17 deletions
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
@ -0,0 +1,48 @@ |
|||||||
|
import QtQuick |
||||||
|
import QtQuick.Layouts |
||||||
|
import QtQuick.Controls |
||||||
|
|
||||||
|
// import org.electrum 1.0 |
||||||
|
|
||||||
|
import "../controls" |
||||||
|
|
||||||
|
WizardComponent { |
||||||
|
valid: true |
||||||
|
title: qsTr('Electrum Bitcoin Wallet') |
||||||
|
|
||||||
|
function apply() { |
||||||
|
wizard_data['use_defaults'] = use_defaults.checked |
||||||
|
if (use_defaults.checked) { |
||||||
|
wizard_data['autoconnect'] = true |
||||||
|
wizard_data['want_proxy'] = false |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
ColumnLayout { |
||||||
|
width: parent.width |
||||||
|
|
||||||
|
Image { |
||||||
|
Layout.fillWidth: true |
||||||
|
fillMode: Image.PreserveAspectFit |
||||||
|
source: Qt.resolvedUrl('../../../icons/electrum_presplash.png') |
||||||
|
// reduce spacing a bit |
||||||
|
Layout.topMargin: -50 |
||||||
|
Layout.bottomMargin: -160 |
||||||
|
} |
||||||
|
|
||||||
|
Label { |
||||||
|
Layout.alignment: Qt.AlignHCenter |
||||||
|
text: qsTr('Welcome') |
||||||
|
font.pixelSize: constants.fontSizeXLarge |
||||||
|
Layout.bottomMargin: constants.paddingXXLarge |
||||||
|
} |
||||||
|
|
||||||
|
CheckBox { |
||||||
|
id: use_defaults |
||||||
|
Layout.alignment: Qt.AlignHCenter |
||||||
|
text: qsTr('Use default network settings') |
||||||
|
checked: true |
||||||
|
onCheckedChanged: checkIsLast() |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue