Answers for "qt slot ui lambda"

0

qt slot ui lambda

connect(ui->canvas, &MyCanvas::mouseLoc,
         this, // <- control object
         [this](const QString& st)
         {this->ui->statusBar->showMessage(st, 0);});
Posted by: Guest on May-31-2021

Browse Popular Code Answers by Language