mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-04 09:24:40 +02:00
File > Help... File > About Interface Settings > Avatar Settings > Browse Go To button (directory.js) Examples button (examples.js)
44 lines
1.1 KiB
QML
44 lines
1.1 KiB
QML
//
|
|
// WebView.qml
|
|
//
|
|
// Created by Bradley Austin Davis on 30 Aug 2015
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
import QtQuick 2.5
|
|
import QtQuick.Controls 1.4
|
|
import QtWebEngine 1.1
|
|
|
|
import "../../windows-uit" as Windows
|
|
import "../../controls-uit" as Controls
|
|
import "../../styles-uit"
|
|
|
|
Windows.Window {
|
|
id: root
|
|
HifiConstants { id: hifi }
|
|
width: 900; height: 700
|
|
resizable: true
|
|
modality: Qt.ApplicationModal
|
|
|
|
Item {
|
|
width: pane.contentWidth
|
|
implicitHeight: pane.scrollHeight
|
|
|
|
Controls.WebView {
|
|
id: webview
|
|
anchors { top: parent.top; left: parent.left; right: parent.right; bottom: closeButton.top; margins: 8 }
|
|
url: "https://metaverse.highfidelity.com/marketplace?category=avatars"
|
|
focus: true
|
|
}
|
|
|
|
Button {
|
|
id: closeButton
|
|
anchors { bottom: parent.bottom; right: parent.right; margins: 8 }
|
|
text: "Close"
|
|
onClicked: root.destroy();
|
|
}
|
|
}
|
|
}
|