feat: input mgr

This commit is contained in:
2026-01-24 14:35:16 +02:00
parent 1a37e76c4a
commit e5d5b2e086
14 changed files with 418 additions and 67 deletions

View File

@@ -0,0 +1,23 @@
import QtQuick
import "../.."
import "../../Window" as ShellWindow
ShellWindow.Window {
id: quickSettingsWindow
property var manager: ShellStateManager
width: 1217 + 52
height: 767 + 52
visible: manager ? manager.quickSettingsOpen : false
anchors.centerIn: parent
QtObject {
id: quickSettingsKeyHandler
function handle(event) {
return false;
}
Component.onCompleted: ShellInputManager.registerHandler("quickSettings", handle)
Component.onDestruction: ShellInputManager.unregisterHandler("quickSettings")
}
}