Thursday, 22 August 2013

Clock with calendar : Gsoc update

Well , I have been working on clock with calendar right after I ported window list and trash can .

And yes , it is "beast" of all the plasmoids .

I managed to implement one ,yes,  a basic one for now .It shows the events of the clicked date's month and those events that touches it .Further , it shows "No events founds" when the clicked date does not conatins any events .I also implemented containsTodoItems apart from other functionalities :) under +Mark Gaiser  and +Marco Martin  guidance  .

At present +Mark Gaiser  's calendar component is  used for it .The current date is shown under the blue border as in c++ plasmoid .

It is a way alike now ;) .

Also I used split function to have only a substring (event,todo or journal ) in EventList from the called string .I used ScrollArea for the EventList .

And I did a few javascript functions to implement the functionalities as well as a few functions in calendar.cpp itself .

It looks a much better after +Marco Martin suggested to have some indentation and follow white space coding .It presently uses QDate as for now .

The toolbar shows current date and week number by default .

There are two models used : setSelectedDay model : which shows the clicked date's events,todo or journal and upcomingDays model : which shows the upcoming events in case no events ,todo or journal is found .


Do check it out ;)


It is available at heenamahour/gsoc branch under kde-workspace and kdepim-runtime


That is all for now :)

And yes , window-list and trashcan are ported to plasma 2 (work is in progress ;) in parallel with calendar plasmoid :D ..)