QStackedWidget 只需要关联好对应的信号和槽,调用setCurrentIndex函数,想切哪个界面就切到哪个界面 转载于:https://www.cnblogs.com/pythonClub/p/10415315.html