Hello!
I created the MainWindow project and added:
MainWindow.h
private:
private:
void timerEvent( QTimerEvent *event );
To copy to clipboard, switch view to plain text mode
I wrote in the constructor of the MainWindow:
startTimer( 2000 );
startTimer( 2000 );
To copy to clipboard, switch view to plain text mode
I wrote:
{
qDebug() << "timerEvent";
}
void MainWindow::timerEvent(QTimerEvent *event)
{
qDebug() << "timerEvent";
}
To copy to clipboard, switch view to plain text mode
How to stop this timer here:
void MainWindow::on_startTransmissionButton_clicked()
{
}
void MainWindow::on_startTransmissionButton_clicked()
{
}
To copy to clipboard, switch view to plain text mode
P.S. I cannot find timerEvent in the Qt's documentation
Bookmarks