64 lines
1.3 KiB
QML
64 lines
1.3 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Window 2.15
|
|
import QtQuick.Layouts 1.15
|
|
import QtQuick.Controls 2.15
|
|
|
|
Window{
|
|
id: window
|
|
|
|
property string url
|
|
property string windowId
|
|
|
|
width: 600
|
|
height: 650
|
|
|
|
onClosing: {
|
|
close.accepted = false
|
|
closedS(windowId)
|
|
}
|
|
visible: true
|
|
|
|
signal openReqS(string targetUrl)
|
|
signal moveReqS(string senderId, string targetUrl)
|
|
signal closedS(string senderId)
|
|
signal backS(string senderId)
|
|
signal forvardS(string senderId)
|
|
|
|
ColumnLayout{
|
|
id: layout1
|
|
|
|
anchors.fill: parent
|
|
|
|
AlteratorToolBar{
|
|
id: toolBar
|
|
|
|
z: 1
|
|
}
|
|
|
|
RowLayout{
|
|
id: layout2
|
|
|
|
// TextArea{
|
|
// id: overviewArea
|
|
|
|
// text: "Here will be list of all alterator services"
|
|
// readOnly: true
|
|
// Layout.fillHeight: true
|
|
// selectByKeyboard: true
|
|
// selectByMouse: true
|
|
// onLinkActivated: openAnotherWindow(link)
|
|
// }
|
|
|
|
Loader{
|
|
id: currentPage
|
|
objectName: "currentPageN"
|
|
|
|
source: url
|
|
Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|