Just some programing exercise for Qt