QWidget*wgt=qApp->widgetAp(x,y);wgt->click()
C++ (Qt)QPushButton *button = qobject_cast <QPushButton*> (qApp->widgetAp(x,y));if (button) { button->click ();}