a03b2d7bae
This is much less intimidating than asking if the user wants to use a proxy out of the gate.
45 lines
973 B
QML
45 lines
973 B
QML
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
|
|
}
|
|
|
|
}
|
|
|
|
}
|