One of the tutorial programs from te qt website