From 38287d3fbfbd126a94d1e4f58c4c62836a2516ff Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Thu, 7 Apr 2022 10:56:05 +0800 Subject: Add Mark important button --- contents/ui/AnnouncementView.qml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'contents') diff --git a/contents/ui/AnnouncementView.qml b/contents/ui/AnnouncementView.qml index e178482..95caf9e 100644 --- a/contents/ui/AnnouncementView.qml +++ b/contents/ui/AnnouncementView.qml @@ -48,6 +48,14 @@ RowLayout { } } + PlasmaComponents3.ToolButton { + icon.name: "emblem-important-symbolic" + onClicked: () => { + announcementLabel.font.bold = true + announcementLabel.color = PlasmaCore.Theme.negativeTextColor + } + } + PlasmaComponents3.ToolButton { icon.name: "delete" onClicked: () => { -- cgit v1.2.3