Description
If I can use a blocked modal dialog like this:
QDialog* childDialog = new QDialog(pWindow);
int resutl = childDialog ->exec();
if (resutl == QDialog::Accepted)
{
qDebug() << "You Choose Ok";
}
else
{
qDebug() << "You Choose Cancel";
}
The code will be much simple.
But I know Qt’s modal dialog transfers the event loops, can lvgl do that?
Maybe there is any other way?
Thank you very much!