mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Clock and calendar
This commit is contained in:
@@ -14,6 +14,7 @@ Rectangle {
|
||||
property bool hovering: false
|
||||
property var onEntered: function () {}
|
||||
property var onExited: function () {}
|
||||
property var onClicked: function () {}
|
||||
|
||||
implicitWidth: size
|
||||
implicitHeight: size
|
||||
@@ -45,5 +46,8 @@ Rectangle {
|
||||
hovering = false
|
||||
root.onExited()
|
||||
}
|
||||
onClicked: {
|
||||
root.onClicked()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user