Qt practice code, subtree of CPP