8 changed files with 91 additions and 211 deletions
@ -1,50 +0,0 @@
|
||||
import QtQuick |
||||
import QtQuick.Layouts |
||||
import QtQuick.Controls |
||||
|
||||
import "../controls" |
||||
|
||||
WizardComponent { |
||||
valid: true |
||||
title: qsTr('Server') |
||||
|
||||
function apply() { |
||||
wizard_data['autoconnect'] = serverconnectgroup.checkedButton.connecttype === 'auto' |
||||
} |
||||
|
||||
ColumnLayout { |
||||
width: parent.width |
||||
|
||||
Label { |
||||
Layout.fillWidth: true |
||||
text: qsTr('How do you want to connect to a server?') |
||||
wrapMode: Text.Wrap |
||||
} |
||||
|
||||
InfoTextArea { |
||||
Layout.fillWidth: true |
||||
text: qsTr('Electrum communicates with remote servers to get information about your transactions and addresses. The servers all fulfill the same purpose only differing in hardware. In most cases you simply want to let Electrum pick one at random. However if you prefer feel free to select a server manually.') |
||||
} |
||||
|
||||
ButtonGroup { |
||||
id: serverconnectgroup |
||||
onCheckedButtonChanged: checkIsLast() |
||||
} |
||||
|
||||
ElRadioButton { |
||||
Layout.fillWidth: true |
||||
ButtonGroup.group: serverconnectgroup |
||||
property string connecttype: 'auto' |
||||
text: qsTr('Auto connect') |
||||
checked: true |
||||
} |
||||
ElRadioButton { |
||||
Layout.fillWidth: true |
||||
ButtonGroup.group: serverconnectgroup |
||||
property string connecttype: 'manual' |
||||
text: qsTr('Select servers manually') |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
@ -1,44 +0,0 @@
|
||||
import QtQuick |
||||
import QtQuick.Layouts |
||||
import QtQuick.Controls |
||||
import QtQuick.Controls.Material |
||||
|
||||
import "../controls" |
||||
|
||||
WizardComponent { |
||||
valid: true |
||||
title: qsTr('Proxy') |
||||
|
||||
function apply() { |
||||
wizard_data['want_proxy'] = wantproxygroup.checkedButton.wantproxy |
||||
} |
||||
|
||||
ColumnLayout { |
||||
width: parent.width |
||||
|
||||
Label { |
||||
Layout.fillWidth: true |
||||
text: qsTr('Do you use a local proxy service such as TOR to reach the internet?') |
||||
wrapMode: Text.Wrap |
||||
} |
||||
|
||||
ButtonGroup { |
||||
id: wantproxygroup |
||||
onCheckedButtonChanged: checkIsLast() |
||||
} |
||||
|
||||
ElRadioButton { |
||||
ButtonGroup.group: wantproxygroup |
||||
property bool wantproxy: true |
||||
text: qsTr('Yes') |
||||
} |
||||
ElRadioButton { |
||||
ButtonGroup.group: wantproxygroup |
||||
property bool wantproxy: false |
||||
text: qsTr('No') |
||||
checked: true |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
Loading…
Reference in new issue