1
0
Files
electrum/electrum/gui/qml/components/wizard/WCProxyAsk.qml
ThomasV 2ef60b906f Reword proxy question.
The second alternative in previous phrase can be misinterpreted as:
'Do you want to connect to the internet through an ISP?'
2023-03-16 17:12:21 +01:00

44 lines
960 B
QML

import QtQuick 2.6
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.1
import QtQuick.Controls.Material 2.0
import "../controls"
WizardComponent {
valid: true
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()
}
RadioButton {
ButtonGroup.group: wantproxygroup
property bool wantproxy: true
text: qsTr('Yes')
}
RadioButton {
ButtonGroup.group: wantproxygroup
property bool wantproxy: false
text: qsTr('No')
checked: true
}
}
}