PDA

View Full Version : How to emulate button click? For example button "P". ?



lapdx
7th November 2012, 15:17
How to emulate button click? For example button "P". ?

pkj
7th November 2012, 17:24
QAbstractButton::animateClick(int msec)

lapdx
7th November 2012, 17:28
Why this code not working?

QTest::mouseClick(this,Qt::LeftButton,0,QPoint(10, 40),-1);
connect(ui->pushButton, SIGNAL(clicked()), this, SLOT(getHttp()));