<div dir="ltr">Hi,<div><br></div><div>at the Plasma sprint we discussed the next-gen calendar plasmoid, we had Mitch from Digia here, who is working on QtQuickControls calendar stuff. </div><div><br></div><div>The idea is to share as much code as possible between our plasmoid and upstream Qt.</div>
<div><br></div><div>Mitch's calendar does pretty much what we need to do, so we'd like to reuse it in our plasmoid. The thing we need to figure out is howto style it with Plasma style so it reassembles the current calendar widget we have in Plasma2.</div>
<div><br></div><div>Mitch is currently working on a QQuickCalendarModel/QQuickAbstractCalendarModel which will be the backend for the calendar. He has a prototype written, but it does not work yet with the QML part. In KDE we would then extend this model to add events into it. The model would have just two roles - DateRole, returning the date for the grid index (so this plugs the numbers in the grid) and EventsRole, which returns a list of events for the index. Events will not be in the first version, but the idea is to have sort of Event object with all the needed properties, then return list of them for the given day.</div>
<div><br></div><div>Notes and repo address are written down at wiki here: <a href="http://community.kde.org/Plasma/QMLCalendar">http://community.kde.org/Plasma/QMLCalendar</a></div><div><br></div><div>Comments welcome<br clear="all">
<div><br></div><div>Cheers</div>-- <br><div><span style="color:rgb(102,102,102)">Martin Klapetek | KDE Developer</span></div>
</div></div>