QMessageBox is blocking the GUI.
Solved
General and Desktop
-
I have a
QPlainTextEdit
, and datum that comes from serial port is written constantly. After some commands I want to open aQMessageBox
and show some details about user has done. When theQMessageBox
is appear on the screenQPlainTextEdit
does not update untilQMessageBox
is closed. How can I achieve the non-blocking type of the messagebox ? -
@fatihsezgin Use https://doc.qt.io/qt-5/qwidget.html#show instead of https://doc.qt.io/qt-5/qmessagebox.html#exec as exec is modal as described in the documentation.