Calendar is no longer a Widget, moved to Modules/Calendar/Calendar.qml
- Using a NLoader - Got a display bug with DayOfWeekRow!
This commit is contained in:
parent
c1452e3c11
commit
93fca936d8
5 changed files with 153 additions and 139 deletions
|
|
@ -12,13 +12,8 @@ NClock {
|
|||
target: root
|
||||
}
|
||||
|
||||
NCalendar {
|
||||
id: calendar
|
||||
visible: false
|
||||
}
|
||||
|
||||
onEntered: function () {
|
||||
if (!calendar.visible) {
|
||||
if (!calendar.isLoaded) {
|
||||
tooltip.show()
|
||||
}
|
||||
}
|
||||
|
|
@ -26,7 +21,8 @@ NClock {
|
|||
tooltip.hide()
|
||||
}
|
||||
onClicked: function () {
|
||||
calendar.visible = !calendar.visible
|
||||
tooltip.hide()
|
||||
calendar.isLoaded = !calendar.isLoaded
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue