Initial commit for submenu popouts, unfinished

This commit is contained in:
2026-05-20 14:07:38 +02:00
parent 853b683962
commit 33746fca04
7 changed files with 300 additions and 242 deletions
+3 -1
View File
@@ -15,13 +15,14 @@ Item {
property real currentCenter
property alias currentName: popoutState.currentName
property string detachedMode
readonly property bool isDetached: detachedMode.length > 0
property alias hasCurrent: popoutState.hasCurrent
readonly property bool isDetached: detachedMode.length > 0
readonly property real nonAnimHeight: children.find(c => c.shouldBeActive)?.implicitHeight ?? content.implicitHeight
readonly property real nonAnimWidth: children.find(c => c.shouldBeActive)?.implicitWidth ?? content.implicitWidth
required property real offsetScale
property string queuedMode
required property ShellScreen screen
property alias state: popoutState
function close(): void {
hasCurrent = false;
@@ -79,6 +80,7 @@ Item {
sourceComponent: Content {
popouts: popoutState
screen: root.screen
}
}