mainWindow.connect(self.btn, SIGNAL(clicked()), action())
connect(childWidget1->button, QPushButton::clicked, this, MainWindow::onButton1Click);
connect(childWidget2->button, QPushButton::clicked, this, MainWindow::onButton2Click);
onButton1Click()
{
childWidget2->doSmth();
}