diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-24 20:35:09 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-24 20:35:23 +0100 |
commit | a234a8ef5bf8564221f615d0010a810e501905bb (patch) | |
tree | 100c2d12d0ac1a9c08ec9c3ce9fcc85bf55294f7 /gui/qml/VPNSwitch.qml | |
parent | 4e92b1103dc0ea1eba07f2568afd1c250aee31d1 (diff) |
[ui] remove old qml folder
Diffstat (limited to 'gui/qml/VPNSwitch.qml')
-rw-r--r-- | gui/qml/VPNSwitch.qml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gui/qml/VPNSwitch.qml b/gui/qml/VPNSwitch.qml deleted file mode 100644 index c58836e..0000000 --- a/gui/qml/VPNSwitch.qml +++ /dev/null @@ -1,46 +0,0 @@ -import QtQuick 2.9 -import QtQuick.Layouts 1.12 -import QtQuick.Controls 2.4 - -SwitchDelegate { - - text: qsTr("") - checked: false - anchors.horizontalCenter: parent.horizontalCenter - - contentItem: Text { - rightPadding: vpntoggle.indicator.width + vpntoggle.spacing - text: vpntoggle.text - font: vpntoggle.font - opacity: enabled ? 1.0 : 0.5 - color: vpntoggle.down ? "#17a81a" : "#21be2b" - elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter - } - - indicator: Rectangle { - implicitWidth: 48 - implicitHeight: 26 - x: vpntoggle.width - width - vpntoggle.rightPadding - y: parent.height / 2 - height / 2 - radius: 13 - color: vpntoggle.checked ? "#17a81a" : "transparent" - border.color: vpntoggle.checked ? "#17a81a" : "#cccccc" - - Rectangle { - x: vpntoggle.checked ? parent.width - width : 0 - width: 26 - height: 26 - radius: 13 - color: vpntoggle.down ? "#cccccc" : "#ffffff" - border.color: vpntoggle.checked ? (vpntoggle.down ? "#17a81a" : "#21be2b") : "#999999" - } - } - - background: Rectangle { - implicitWidth: 100 - implicitHeight: 40 - visible: vpntoggle.down || vpntoggle.highlighted - color: vpntoggle.down ? "#17a81a" : "#eeeeee" - } -} // end switchdelegate |