... or put them both in a QStackedWidget and toggle them that way.