mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 08:23:17 +02:00
making requested changes
This commit is contained in:
parent
d71fb2a100
commit
76a56c679a
4 changed files with 4 additions and 3 deletions
BIN
interface/resources/images/unsupportedImage.png
Normal file
BIN
interface/resources/images/unsupportedImage.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
|
@ -58,6 +58,7 @@ Windows.ScrollingWindow {
|
|||
Controls.WebView {
|
||||
id: webview
|
||||
url: "about:blank"
|
||||
property string userScriptUrl: ""
|
||||
anchors.fill: parent
|
||||
focus: true
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue