diff options
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index ac82ec70..704b46f7 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -26,7 +26,6 @@ import org.kube.framework 1.0 as Kube | |||
26 | FocusScope { | 26 | FocusScope { |
27 | id: root | 27 | id: root |
28 | 28 | ||
29 | |||
30 | Item { | 29 | Item { |
31 | anchors { | 30 | anchors { |
32 | top: parent.top | 31 | top: parent.top |
@@ -173,6 +172,7 @@ FocusScope { | |||
173 | model: parent.events | 172 | model: parent.events |
174 | 173 | ||
175 | delegate: Rectangle { | 174 | delegate: Rectangle { |
175 | id: eventDelegate | ||
176 | anchors { | 176 | anchors { |
177 | right: parent.right | 177 | right: parent.right |
178 | rightMargin: Kube.Units.smallSpacing | 178 | rightMargin: Kube.Units.smallSpacing |
@@ -194,11 +194,25 @@ FocusScope { | |||
194 | text: model.text | 194 | text: model.text |
195 | color: Kube.Colors.highlightedTextColor | 195 | color: Kube.Colors.highlightedTextColor |
196 | } | 196 | } |
197 | |||
198 | MouseArea { | ||
199 | anchors.fill: parent | ||
200 | |||
201 | hoverEnabled: true | ||
202 | |||
203 | onEntered: { | ||
204 | eventDelegate.z = eventDelegate.z + 100 | ||
205 | } | ||
206 | onExited: { | ||
207 | eventDelegate.z = eventDelegate.z - 100 | ||
208 | |||
209 | } | ||
210 | |||
211 | } | ||
197 | } | 212 | } |
198 | } | 213 | } |
199 | } | 214 | } |
200 | } | 215 | } |
201 | |||
202 | } | 216 | } |
203 | } | 217 | } |
204 | } | 218 | } |