Files
metabuilder/qml/MetaBuilder/CNotificationEmptyState.qml
johndoe6345789 6e394d7846 style(qt6): 80-char margin enforced — 737 violations → 29 remaining
191 files reformatted across views, components, widgets, hybrid, contexts.
New components: CCreateSchemaDialog, CAddFieldDialog, CAdminContentPanel.
JS helpers: connBadgeStatus/Text, adminStats, exampleLabels, onLevelClicked.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 15:48:39 +00:00

40 lines
903 B
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QmlComponents 1.0
CCard {
id: root
Layout.fillWidth: true
property string filterLabel: "All"
ColumnLayout {
anchors.fill: parent
anchors.margins: 40
spacing: 16
Layout.alignment: Qt.AlignHCenter
CText {
Layout.alignment: Qt.AlignHCenter
variant: "h2"
text: "\u{1F514}"
}
CText {
Layout.alignment: Qt.AlignHCenter
variant: "h4"
text: filterLabel === "All"
? "No notifications"
: "No " + filterLabel.toLowerCase() + " notifications"
}
CText {
Layout.alignment: Qt.AlignHCenter
variant: "body2"
text: "When there are new notifications, they will appear here."
opacity: 0.6
}
}
}