overte/interface/resources/qml/controls/FlickableWebViewCore.qml
Kasen IO 0e609b6777 Fixed web entities useBackground on reload.
Co-Authored-By: null <HifiExperiments@users.noreply.github.com>
2020-08-18 18:49:28 -04:00

53 lines
1 KiB
QML

import QtQuick 2.7
import QtQuick.Controls 2.2
import stylesUit 1.0 as StylesUIt
import controlsUit 1.0 as ControlsUit
Item {
id: flick
property alias url: webViewCore.url
property alias canGoBack: webViewCore.canGoBack
property alias webViewCore: webViewCore
property alias webViewCoreProfile: webViewCore.profile
property string webViewCoreUserAgent
property bool useBackground: webViewCore.useBackground
property string userScriptUrl: ""
property string urlTag: "noDownload=false";
signal newViewRequestedCallback(var request)
signal loadingChangedCallback(var loadRequest)
width: parent.width
property bool interactive: false
property bool blurOnCtrlShift: true
StylesUIt.HifiConstants {
id: hifi
}
function stop() {
}
function unfocus() {
}
function stopUnfocus() {
}
function onLoadingChanged(loadRequest) {
}
ControlsUit.ProxyWebView {
id: webViewCore
width: parent.width
height: parent.height
}
}