|
mupp 1.1.0
|
Dialog for displaying variable parsing error messages. More...
#include <PmuppGui.h>


Public Member Functions | |
| PVarErrorDialog (QString errMsg) | |
| Constructor that creates and displays the error dialog. | |
Private Attributes | |
| QPlainTextEdit * | fErrMsg |
| text widget displaying the error message | |
| QPushButton * | fOK |
| button to close the dialog | |
Dialog for displaying variable parsing error messages.
PVarErrorDialog presents a modal dialog showing error messages that occur during variable expression parsing and evaluation. The dialog includes:
Used by the variable handler system to report syntax errors, undefined variables, or evaluation failures to the user.
Definition at line 213 of file PmuppGui.h.
| PVarErrorDialog::PVarErrorDialog | ( | QString | errMsg | ) |
Constructor that creates and displays the error dialog.
Constructor for the variable error dialog.
| errMsg | error message text to display |
Creates a modal dialog displaying variable parsing error messages. The dialog contains:
The dialog width is automatically calculated based on the message content to ensure readability:
| errMsg | error message text to display (may contain newlines) |
Definition at line 294 of file PmuppGui.cpp.
|
private |
text widget displaying the error message
Definition at line 225 of file PmuppGui.h.
|
private |
button to close the dialog
Definition at line 226 of file PmuppGui.h.