it WORKSSSSSSSSSSSSSS...on linux laptop

finally, we have a simple example to expand and test on device
This commit is contained in:
talksik
2023-08-18 15:46:07 -07:00
parent 28b54bf96b
commit 3f94313bbf
7 changed files with 153 additions and 151 deletions
+30 -30
View File
@@ -26,35 +26,35 @@ ApplicationWindow {
height: parent.height
}
Rectangle {
color: Qt.rgba(1, 1, 1, 0.7)
border.width: 1
border.color: "white"
anchors.bottom: video.bottom
anchors.bottomMargin: 15
anchors.horizontalCenter: parent.horizontalCenter
width : parent.width - 30
height: parent.height - 30
radius: 8
MouseArea {
id: mousearea
anchors.fill: parent
hoverEnabled: true
onEntered: {
parent.opacity = 1.0
hidetimer.start()
}
}
Timer {
id: hidetimer
interval: 5000
onTriggered: {
parent.opacity = 0.0
stop()
}
}
}
// Rectangle {
// color: "red"
// border.width: 1
// border.color: "white"
// anchors.bottom: video.bottom
// anchors.bottomMargin: 15
// anchors.horizontalCenter: parent.horizontalCenter
// width : parent.width - 30
// height: parent.height - 30
// radius: 8
//
// MouseArea {
// id: mousearea
// anchors.fill: parent
// hoverEnabled: true
// onEntered: {
// parent.opacity = 1.0
// hidetimer.start()
// }
// }
//
// Timer {
// id: hidetimer
// interval: 5000
// onTriggered: {
// parent.opacity = 0.0
// stop()
// }
// }
// }
}
}