mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-10-07 09:47:07 +02:00
47 lines
833 B
QML
47 lines
833 B
QML
import QtQuick 2.9
|
|
//import net.aimber.screenplaysdk 1.0
|
|
|
|
Rectangle {
|
|
color: "gray"
|
|
anchors.fill: parent
|
|
property string tmpVideoPath
|
|
|
|
// ScreenPlaySDK {
|
|
// contentType: "wallpaper"
|
|
|
|
// onIncommingMessageError: {
|
|
// name.text = msg
|
|
// }
|
|
|
|
// onSdkConnected: {
|
|
// name.text = "connected"
|
|
// }
|
|
|
|
// onSdkDisconnected: {
|
|
// name.text = "disconnected"
|
|
// mainwindow.destroyThis()
|
|
// }
|
|
// }
|
|
|
|
// Text {
|
|
// id: name
|
|
// text: qsTr("text")
|
|
// anchors.centerIn: parent
|
|
// font.pixelSize: 64
|
|
// color: "orange"
|
|
// }
|
|
|
|
Connections {
|
|
target: mainwindow
|
|
onPlayVideo: {
|
|
screenVideo.videoPath = path
|
|
}
|
|
}
|
|
|
|
|
|
|
|
ScreenVideo {
|
|
id:screenVideo
|
|
}
|
|
}
|