X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=launcher%2Fqml%2FLauncher.qml;h=3c948dd90f19966f0aeacba59fe033f74874aa72;hb=9495545c38d5e72014cba05f8ea79c98ed3321a1;hp=27b0d3db414c6d7643289503a6d1c689a8c19584;hpb=fc41fa6da7f64262a7bbc4313b920762e1a31d15;p=apps%2Flauncher.git diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml index 27b0d3d..3c948dd 100644 --- a/launcher/qml/Launcher.qml +++ b/launcher/qml/Launcher.qml @@ -22,18 +22,18 @@ import QtQuick.Window 2.13 import AppModel 1.0 ApplicationWindow { - width: container.width * container.scale - height: container.height * container.scale - property int pid: -1 + id: root + //width: container.width + //height: container.height + flags: Qt.FramelessWindowHint + visible: true Item { id: container anchors.centerIn: parent - width: Screen.width - height: Screen.height - //scale: screenInfo.scale_factor() - scale: 1 + width: Window.width + height: Window.height Image { anchors.centerIn: parent @@ -82,7 +82,6 @@ ApplicationWindow { property string currentId: '' property int newIndex: -1 property int index: grid.indexAt(loc.mouseX, loc.mouseY) - property string output_screen: '' x: 62 y: 264 onPressAndHold: currentId = applicationModel.id(newIndex = index) @@ -96,7 +95,7 @@ ApplicationWindow { // output_screen = 'Virtual-1' //} if (currentId === '') { - homescreenHandler.tapShortcut(applicationModel.appid(loc.index), output_screen) + homescreenHandler.tapShortcut(applicationModel.appid(loc.index)) } else { currentId = '' }