24 lines
596 B
QML
24 lines
596 B
QML
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")
|
|
}
|
|
}
|