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
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)
// output_screen = 'Virtual-1'
//}
if (currentId === '') {
- homescreenHandler.tapShortcut(applicationModel.appid(loc.index), output_screen)
+ homescreenHandler.tapShortcut(applicationModel.appid(loc.index))
} else {
currentId = ''
}