online-accounts-plugins/lib/module/qml6/ChromedWebView.qml
raw| 1 | import QtQuick 2.9 |
| 2 | import Lomiri.Components |
| 3 | import Morph.Web 0.1 |
| 4 | |
| 5 | WebView { |
| 6 | id: root |
| 7 | |
| 8 | /* Taken from webbrowser-app */ |
| 9 | ProgressBar { |
| 10 | anchors.top: parent.top |
| 11 | anchors.left: parent.left |
| 12 | anchors.right: parent.right |
| 13 | height: units.dp(3) |
| 14 | showProgressPercentage: false |
| 15 | visible: root.loading |
| 16 | value: root.loadProgress / 100 |
| 17 | } |
| 18 | } |