Testing api for a rasterwindow implementation in Qt