my first qt program, the UI for a chessboard