29 lines
686 B
QML
29 lines
686 B
QML
import QtQuick
|
|
import qs.Config
|
|
import qs.Helpers
|
|
|
|
Item {
|
|
implicitWidth: 20
|
|
implicitHeight: 18
|
|
Text {
|
|
id: notificationCenterIcon
|
|
property color iconColor: Config.useDynamicColors ? DynamicColors.palette.m3tertiaryFixed : "white"
|
|
text: HasNotifications.hasNotifications ? "\uf4fe" : "\ue7f4"
|
|
font.family: "Material Symbols Rounded"
|
|
font.pixelSize: 20
|
|
color: iconColor
|
|
|
|
Behavior on color {
|
|
CAnim {}
|
|
}
|
|
|
|
MouseArea {
|
|
anchors.fill: parent
|
|
cursorShape: Qt.PointingHandCursor
|
|
onClicked: {
|
|
ncProcess.running = true
|
|
}
|
|
}
|
|
}
|
|
}
|