Files
bbedward ccbf1d38ad widgets: bump qml-common, rename Dank* prefixed widgets to D, add
deprecation notice to plugin compatibility shims

- When qml-common became a thing, we left qs.Widgets shims in place for
  plugin compatibility
- It's annoying to need to maintain them when qml-common has any change,
  add a warning so we can safely deprecate them in the future
- One shot rename the common stuff to D to make it shorter and nicer to
  write
2026-10-05 16:47:19 -04:00

34 lines
917 B
QML

import QtQuick
import qs.Common
import qs.Services
import qs.DCommon.Widgets
Item {
id: root
anchors.fill: parent
visible: NotificationService.notifications.length === 0
Column {
anchors.centerIn: parent
width: parent.width
spacing: Theme.spacingM
DIcon {
anchors.horizontalCenter: parent.horizontalCenter
name: "emoji_events"
size: Theme.iconSizeLarge + Theme.spacingL
color: Theme.onSurfaceVariant
}
StyledText {
anchors.horizontalCenter: parent.horizontalCenter
text: I18n.tr("You're all caught up", "notification center empty state, no notifications left to read")
font.pixelSize: Theme.fontSizeLarge
color: Theme.onSurfaceVariant
font.weight: Theme.fontWeightMedium
horizontalAlignment: Text.AlignHCenter
}
}
}