diff options
| author | xiphon <xiphon@protonmail.com> | 2020-07-30 21:26:40 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2020-09-07 20:35:20 +0000 |
| commit | 749c166b10a0b7942cff1e7d0463f40d17b6d37a (patch) | |
| tree | 22f65b984734c8491612380607eb5bee694ca253 /pages/settings | |
| parent | a563582d95c0048a64e7edad8f6c6cc3d4ace812 (diff) | |
| download | monzero-gui-749c166b10a0b7942cff1e7d0463f40d17b6d37a.tar.gz monzero-gui-749c166b10a0b7942cff1e7d0463f40d17b6d37a.tar.xz monzero-gui-749c166b10a0b7942cff1e7d0463f40d17b6d37a.zip | |
main: socks5 proxy support
Diffstat (limited to 'pages/settings')
| -rw-r--r-- | pages/settings/SettingsLayout.qml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pages/settings/SettingsLayout.qml b/pages/settings/SettingsLayout.qml index 22b9ec52..f65b3747 100644 --- a/pages/settings/SettingsLayout.qml +++ b/pages/settings/SettingsLayout.qml @@ -251,6 +251,35 @@ Rectangle { } } + MoneroComponents.CheckBox { + id: proxyCheckbox + Layout.topMargin: 6 + checked: persistentSettings.proxyEnabled + onClicked: { + persistentSettings.proxyEnabled = !persistentSettings.proxyEnabled; + } + text: qsTr("Socks5 proxy (%1%2)") + .arg(appWindow.walletMode >= 2 ? qsTr("remote node connections, ") : "") + .arg(qsTr("updates downloading, fetching price sources")) + translationManager.emptyString + } + + MoneroComponents.RemoteNodeEdit { + id: proxyEdit + Layout.leftMargin: 36 + Layout.topMargin: 6 + Layout.minimumWidth: 100 + placeholderFontSize: 15 + visible: persistentSettings.proxyEnabled + + daemonAddrLabelText: qsTr("IP address") + translationManager.emptyString + daemonPortLabelText: qsTr("Port") + translationManager.emptyString + + initialAddress: persistentSettings.proxyAddress + onEditingFinished: { + persistentSettings.proxyAddress = proxyEdit.getAddress(); + } + } + MoneroComponents.StandardButton { visible: !persistentSettings.customDecorations Layout.topMargin: 10 |
