QT examples taken from QT 5.3 installation