title: how can i switch to another widget under the same mainwindow
body: <p>I want to change to another widget under the same <code>Mainwindow</code> when the <code>PushButton</code> is clicked. whether I need to create another py file? or create 2 widget in same class? thanks for your help</p>