Try to get the link between Events working
Links: Event.js

-Pass the two end points of the link and the parent of the link
to the drawLine function.
-Use the first event's z-index value to decide the z-index value of the
link so that the link appears behind the two events.
-Set a LinkCount variable to keep trak of the number of links.
-Set the linkEnabled variable and the clickCount variables to false.

TODO: Add validations for the case when no event is passed after
triggering link start(Ctrl+R)
Links: Link.qml

Add a z index variable to the QML file to manipulate the visibility of
the line.
Links: Event.qml

-Add two proeprties centerX and centerY which hold the center of the
grid. Link line is drawn from the center of one event to another.
Links: FileMenu.qml

Add properties for link count and link end points.
Count number of clicks, track nearest event and draw the line from that
event to second event(Again tracked using mouse  positions)