making requested changes

This commit is contained in:
danteruiz 2019-02-08 10:03:05 -08:00
parent d71fb2a100
commit 76a56c679a
4 changed files with 4 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -58,6 +58,7 @@ Windows.ScrollingWindow {
Controls.WebView {
id: webview
url: "about:blank"
property string userScriptUrl: ""
anchors.fill: parent
focus: true
}

View file

@ -13,7 +13,7 @@ import QtWebEngine 1.5
AnimatedImage {
property WebEngineView webview: parent
source: "../../icons/loader-snake-64-w.gif"
source: "qrc:////icons//loader-snake-64-w.gif"
visible: webview.loading && /^(http.*|)$/i.test(webview.url.toString())
playing: visible
z: 10000

View file

@ -10,14 +10,14 @@
import QtQuick 2.5
AnimatedImage {
Image {
Item {
id: webView
property bool loading: false
property string url: ""
}
source: "../../icons/loader-snake-64-w.gif"
source: "qrc:////images//unsupportedImage.png"
visible: webview.loading && /^(http.*|)$/i.test(webview.url.toString())
playing: visible
z: 10000