Messing around with QT, getting back into C++