My first attempt at graphics programming in Qt