mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 11:36:40 +02:00
52 lines
999 B
QML
52 lines
999 B
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 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
|
|
}
|
|
}
|