connect(btn, SIGNAL(clicked()), process, SLOT(startProcess()))void MainWidget::startProcess(){ //启动process}