The after_paint signal is emitted after the stage is painted, but before the results are displayed on the screen.