This is much less intimidating than asking if the user wants to use a proxy out of the gate.
26 lines
437 B
QML
26 lines
437 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls
|
|
|
|
import "../controls"
|
|
|
|
WizardComponent {
|
|
valid: true
|
|
title: qsTr('Proxy')
|
|
|
|
function apply() {
|
|
wizard_data['proxy'] = pc.toProxyDict()
|
|
}
|
|
|
|
ColumnLayout {
|
|
width: parent.width
|
|
spacing: constants.paddingLarge
|
|
|
|
ProxyConfig {
|
|
id: pc
|
|
Layout.fillWidth: true
|
|
proxy_enabled: true
|
|
}
|
|
}
|
|
}
|