summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kacej <[email protected]>2017-11-19 22:22:31 +0100
committerMartin Kacej <[email protected]>2017-11-19 22:22:31 +0100
commit2d6ffa8dfe54f70db78ef1f7bb308092ff41d924 (patch)
tree51df9f70c66388f8af23cc680aa430285cd8e811
parent90e6c8f69edadb1561e2e2a8dcc9dfe10f04fc33 (diff)
Connection editor dialog reworked
-rw-r--r--mobile/package/contents/ui/IPDetailsSection.qml5
-rw-r--r--mobile/package/contents/ui/ProxyDetailsSection.qml51
2 files changed, 56 insertions, 0 deletions
diff --git a/mobile/package/contents/ui/IPDetailsSection.qml b/mobile/package/contents/ui/IPDetailsSection.qml
new file mode 100644
index 0000000..9c36e13
--- /dev/null
+++ b/mobile/package/contents/ui/IPDetailsSection.qml
@@ -0,0 +1,5 @@
+import QtQuick 2.0
+
+Item {
+
+}
diff --git a/mobile/package/contents/ui/ProxyDetailsSection.qml b/mobile/package/contents/ui/ProxyDetailsSection.qml
new file mode 100644
index 0000000..7e7cddd
--- /dev/null
+++ b/mobile/package/contents/ui/ProxyDetailsSection.qml
@@ -0,0 +1,51 @@
+import QtQuick 2.2
+import QtQuick.Controls 1.4 as Controls
+import QtQuick.Layouts 1.2
+import org.kde.plasma.core 2.0 as PlasmaCore
+import org.kde.plasma.components 2.0 as PlasmaComponents
+import org.kde.plasma.extras 2.0 as PlasmaExtras
+ColumnLayout{
+ spacing: units.gridUnit
+
+ PlasmaComponents.Label{
+ text: i18n("Proxy settings")
+ }
+
+ Controls.CheckBox{
+ id: manualProxyCheck
+ checked: false
+ onCheckedChanged: {
+ manuaProxySettings.visible = checked
+ }
+ }
+
+ ColumnLayout{
+ id: manuaProxySettings
+ anchors.top: manualProxyCheck.bottom
+ visible: false
+
+ PlasmaComponents.Label{
+ text: i18n("Proxy hostname")
+ }
+
+ Controls.TextField{
+ placeholderText: i18n("my.proxy.com")
+ }
+
+ PlasmaComponents.Label{
+ text: i18n("Proxy port")
+ }
+
+ Controls.TextField{
+ placeholderText: i18n("8080")
+ }
+
+ PlasmaComponents.Label{
+ text: i18n("Bypass proxy for")
+ }
+
+ Controls.TextField{
+ placeholderText: i18n("example.com,mytest.com")
+ }
+ }
+}