summaryrefslogtreecommitdiffstats
path: root/app/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.qml')
-rw-r--r--app/main.qml19
1 files changed, 15 insertions, 4 deletions
diff --git a/app/main.qml b/app/main.qml
index 99d50f8..b66e454 100644
--- a/app/main.qml
+++ b/app/main.qml
@@ -25,10 +25,10 @@ Window {
id: root
flags: Qt.FramelessWindowHint
visible: true
- x: 0
- y: 218
- width: 1080
- height: 1488
+ x: 0 // note, these are not set here
+ y: 218 // note, these are not set here
+ width: 800
+ height: 800
color: '#00000000'
Onscreen {
@@ -108,6 +108,13 @@ Window {
ons.btn1Name = onscreenModel.buttonName(0)
ons.btn2Name = onscreenModel.buttonName(1)
ons.btn3Name = onscreenModel.buttonName(2)
+
+ console.log("dsp_title = " + ons.dsp_title + ", dsp_contents = " + ons.dsp_contents)
+ if (ons.btnNum > 0) {
+ console.log("Got ons.btNum > 0 " + ons.btnNum)
+ } else {
+ console.log("ons.btNum is " + ons.btnNum)
+ }
ons_timer.running = ons.btnNum > 0 ? false : true
ons.dsp_sts = "show"
}
@@ -122,4 +129,8 @@ Window {
console.log(qsTr('onscreenapp >>> setModel status: ' + data));
onscreenModel.setModel(data)
}
+
+ function clearOnScreenModel() {
+ onscreenModel.clearModel()
+ }
}