returnButton = new QPushButton(this);returnButton->setText("退出");
定义的返回按钮组件,用于退出或者返回作用。
意思是创建一个按钮,事件处理函数在本窗口。