Code examples from Qt developer meetup on Apr 1st, 2014