Hello!

I created the MainWindow project and added:

MainWindow.h
Qt Code:
  1. private:
  2. void timerEvent( QTimerEvent *event );
To copy to clipboard, switch view to plain text mode 

I wrote in the constructor of the MainWindow:
Qt Code:
  1. startTimer( 2000 );
To copy to clipboard, switch view to plain text mode 

I wrote:
Qt Code:
  1. void MainWindow::timerEvent(QTimerEvent *event)
  2. {
  3. qDebug() << "timerEvent";
  4. }
To copy to clipboard, switch view to plain text mode 

How to stop this timer here:
Qt Code:
  1. void MainWindow::on_startTransmissionButton_clicked()
  2. {
  3.  
  4. }
To copy to clipboard, switch view to plain text mode 

P.S. I cannot find timerEvent in the Qt's documentation