mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:48:38 +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 {
|
Controls.WebView {
|
||||||
id: webview
|
id: webview
|
||||||
url: "about:blank"
|
url: "about:blank"
|
||||||
|
property string userScriptUrl: ""
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
focus: true
|
focus: true
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ import QtWebEngine 1.5
|
||||||
|
|
||||||
AnimatedImage {
|
AnimatedImage {
|
||||||
property WebEngineView webview: parent
|
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())
|
visible: webview.loading && /^(http.*|)$/i.test(webview.url.toString())
|
||||||
playing: visible
|
playing: visible
|
||||||
z: 10000
|
z: 10000
|
||||||
|
|
|
@ -10,14 +10,14 @@
|
||||||
|
|
||||||
import QtQuick 2.5
|
import QtQuick 2.5
|
||||||
|
|
||||||
AnimatedImage {
|
Image {
|
||||||
Item {
|
Item {
|
||||||
id: webView
|
id: webView
|
||||||
property bool loading: false
|
property bool loading: false
|
||||||
property string url: ""
|
property string url: ""
|
||||||
}
|
}
|
||||||
|
|
||||||
source: "../../icons/loader-snake-64-w.gif"
|
source: "qrc:////images//unsupportedImage.png"
|
||||||
visible: webview.loading && /^(http.*|)$/i.test(webview.url.toString())
|
visible: webview.loading && /^(http.*|)$/i.test(webview.url.toString())
|
||||||
playing: visible
|
playing: visible
|
||||||
z: 10000
|
z: 10000
|
||||||
|
|
Loading…
Reference in a new issue