mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-14 23:34:01 -04:00
30 lines
695 B
QML
30 lines
695 B
QML
import QtQuick
|
|
import qs.Common
|
|
import qs.Modules.DankDash
|
|
|
|
Card {
|
|
id: root
|
|
property bool live: Window.window?.visible ?? false
|
|
property var transientSurfaceTracker: null
|
|
readonly property bool opensTab: false
|
|
focusTarget: panel
|
|
activeFocusOnTab: interactive
|
|
|
|
function handleKeyEvent(event) {
|
|
return panel.handleKeyEvent(event);
|
|
}
|
|
|
|
entryId: "notifications"
|
|
Accessible.name: I18n.tr("Notifications")
|
|
pad: Theme.spacingM
|
|
|
|
NotificationsTab {
|
|
id: panel
|
|
anchors.fill: parent
|
|
live: root.live
|
|
interactive: root.interactive
|
|
nested: true
|
|
transientSurfaceTracker: root.transientSurfaceTracker
|
|
}
|
|
}
|