diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-08-17 19:42:15 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-08-20 20:27:45 +0200 |
commit | a10c5ecd2b4bba6814fd66f0ec1997938d95bf92 (patch) | |
tree | 5002b8d9e6709d3c277682039bac3411ffc8f643 /gui/qml/LoginOKDialog.qml | |
parent | 60a35bdde41e8648594dc6a501a11000081ff878 (diff) |
[feat] login feedback
- Resolves: #334
Diffstat (limited to 'gui/qml/LoginOKDialog.qml')
-rw-r--r-- | gui/qml/LoginOKDialog.qml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gui/qml/LoginOKDialog.qml b/gui/qml/LoginOKDialog.qml new file mode 100644 index 0000000..52b3770 --- /dev/null +++ b/gui/qml/LoginOKDialog.qml @@ -0,0 +1,23 @@ +import QtQuick 2.0 +import QtQuick.Dialogs 1.2 +import QtQuick.Controls 1.4 + +Dialog { + standardButtons: StandardButton.Ok + title: qsTr("Login Successful") + Column { + anchors.fill: parent + Text { + text: qsTr("Login successful. You can now start the VPN.") + } + } + + // TODO implement cleanNotifications on backend + function _loginOk() { + loginDone = true; + } + + visible: false + onAccepted: _loginOk() + onRejected: _loginOk() +} |