summaryrefslogtreecommitdiff
path: root/tests/quicktestbrowser/BrowserDialog.qml
blob: a896223dce4f9a4d42ba2364c68da5fabc801a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick 2.1
import QtQuick.Window 2.2
import QtWebEngine 1.1

Window {
    property alias currentWebView: webView
    flags: Qt.Dialog
    width: 800
    height: 600
    visible: true
    onClosing: destroy()
    WebEngineView {
        id: webView
        anchors.fill: parent
    }
}