Moving QWindow to CustomWindow.
Moving QWindow to CustomWindow.