1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-07 09:47:07 +02:00
ScreenPlay/ScreenPlayWindow/main.qml

47 lines
833 B
QML
Raw Normal View History

import QtQuick 2.9
2018-02-18 16:46:47 +01:00
//import net.aimber.screenplaysdk 1.0
Rectangle {
color: "gray"
anchors.fill: parent
2018-02-18 16:46:47 +01:00
property string tmpVideoPath
2018-02-18 16:46:47 +01:00
// ScreenPlaySDK {
// contentType: "wallpaper"
2018-02-18 16:46:47 +01:00
// onIncommingMessageError: {
// name.text = msg
// }
2018-02-18 16:46:47 +01:00
// onSdkConnected: {
// name.text = "connected"
// }
2018-02-18 16:46:47 +01:00
// onSdkDisconnected: {
// name.text = "disconnected"
// mainwindow.destroyThis()
// }
// }
2018-02-18 16:46:47 +01:00
// Text {
// id: name
// text: qsTr("text")
// anchors.centerIn: parent
// font.pixelSize: 64
// color: "orange"
// }
2018-02-14 10:21:15 +01:00
Connections {
target: mainwindow
2018-02-18 16:46:47 +01:00
onPlayVideo: {
screenVideo.videoPath = path
}
2018-02-14 10:21:15 +01:00
}
2018-02-18 16:46:47 +01:00
ScreenVideo {
id:screenVideo
}
}