void MainWindow::on_viewBufferButton_clicked(){}
C++ (Qt)connect(ui->actionAbout, &QAction::triggered, [this]{ QMessageBox::about(this, tr("About"), tr("about text"));});
C++ (Qt)if( auto pb = findChild< QPushButton* >( "viewBufferButton" ) ) connect( pb, &QPushButton::clicked, [ this, pb ] { ... } );
C++ (Qt)if(value)
C++ (Qt)if (value)