feat: add date + calendar, also tidy up pointers/tooltips
This commit is contained in:
parent
bc1f4a385e
commit
435ecf8d4b
19 changed files with 595 additions and 208 deletions
|
|
@ -2,6 +2,7 @@ import QtQuick
|
|||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import qs.Settings
|
||||
import qs.Components
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
@ -25,6 +26,16 @@ Item {
|
|||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: notificationHistoryWin.visible = !notificationHistoryWin.visible
|
||||
onEntered: notificationTooltip.tooltipVisible = true
|
||||
onExited: notificationTooltip.tooltipVisible = false
|
||||
}
|
||||
}
|
||||
|
||||
StyledTooltip {
|
||||
id: notificationTooltip
|
||||
text: "Notification History"
|
||||
tooltipVisible: false
|
||||
targetItem: bell
|
||||
delay: 200
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue