X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=sample%2Fapp%2Fmain.qml;h=94de8719ff311345a22587d22a8af632f1d21ae5;hb=5ba4327b148f81852c6e2a53bc51ab07b238602e;hp=ccce16959b1c340ace4533dbb61bd4ab1662d70d;hpb=e79d82c88e350e6b882158624363b82fe3e2d91a;p=apps%2Fonscreenapp.git diff --git a/sample/app/main.qml b/sample/app/main.qml index ccce169..94de871 100644 --- a/sample/app/main.qml +++ b/sample/app/main.qml @@ -3,7 +3,7 @@ import QtQuick.Window 2.2 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.0 import QtQuick.VirtualKeyboard 2.1 - +import AGL.Demo.Controls 1.0 ApplicationWindow { id: root @@ -12,7 +12,8 @@ ApplicationWindow { height: 1487 property string onsId: qsTr("onscreenapp") - property string pri_path: qsTr("/home/0/app-data/OnScreen/qml/") +// property string pri_path: qsTr("/home/0/app-data/OnScreen/qml/") + property string pri_path: qmldir property string filepath: pri_path + qsTr("vics.qml") property string msgdata: "" property string postmsg: "" @@ -354,5 +355,6 @@ ApplicationWindow { function qmlOnReplyShowWindow(text) { console.log("onstestapp received:",text); output.text = text; + eventHandler.hideWindow(onsId); } }