2020-05-19 19:44:45 +00:00
|
|
|
import QtQuick 2.3
|
|
|
|
import QtQuick.Controls 1.3
|
|
|
|
import QtQuick.Controls 2.3
|
|
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import Qt.labs.platform 1.1
|
2020-05-20 00:07:31 +00:00
|
|
|
import QtWebView 1.14
|
2020-05-19 19:44:45 +00:00
|
|
|
import "../../../imports"
|
|
|
|
import "../../../shared"
|
|
|
|
|
|
|
|
Item {
|
|
|
|
id: browserView
|
|
|
|
x: 0
|
|
|
|
y: 0
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
// Those anchors show a warning too, but whithout them, there is a gap on the right
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.rightMargin: 0
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.leftMargin: 0
|
|
|
|
|
2020-05-20 00:07:31 +00:00
|
|
|
WebView {
|
2020-05-19 19:44:45 +00:00
|
|
|
id: browserContainer
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.topMargin: 0
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
anchors.bottomMargin: 0
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.rightMargin: 0
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.leftMargin: 0
|
2020-05-20 00:07:31 +00:00
|
|
|
url: "https://dap.ps/"
|
2020-05-19 19:44:45 +00:00
|
|
|
}
|
|
|
|
}
|