An example application from the qt website