Initial implementation with QWindow.