You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.3 KiB

import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Window 2.12
Item{
Loader{
sourceComponent: ApplicationWindow{
visible: true
screen: Qt.application.screens[0]
Component.onCompleted: {
showFullScreen()
}
Label{
anchors.centerIn: parent
font.pointSize: 24
text: "2"
}
Button{
anchors.verticalCenterOffset: 24
anchors.centerIn: parent
text: "Test Button"
onClicked: {
visible= false
}
}
}
}
Loader{
sourceComponent: ApplicationWindow{
visible: true
screen: Qt.application.screens[1]
Component.onCompleted: {
showFullScreen()
}
Label{
anchors.centerIn: parent
font.pointSize: 24
text: "1"
}
Button{
anchors.verticalCenterOffset: 24
anchors.centerIn: parent
text: "Test Button"
onClicked: {
visible= false
}
}
}
}
}