Manages the debugger's eval panel: enabling/disabling controls based on pause state, executing Lua expressions, clearing I/O, and appending batched logpoint output lines.
More...
#include <lua_debugger_evaluate.h>
|
|
void | onEvaluate () |
| | Slot that reads the input expression and submits it to the Lua debugger for evaluation.
|
| |
|
void | onEvalClear () |
| | Slot that clears both the input and output text fields.
|
| |
|
| | LuaDebuggerEvalController (LuaDebuggerDialog *host) |
| | Constructs the controller with a reference to the host dialog.
|
| |
| void | attach (QPlainTextEdit *input, QPlainTextEdit *output, QPushButton *evalBtn, QPushButton *clearBtn) |
| | Binds the controller to the panel's UI widgets.
|
| |
|
void | updatePanelState () const |
| | Updates the enabled/disabled state of panel widgets based on the current debugger pause state.
|
| |
| void | appendOutputLines (const QStringList &lines) |
| | Appends one or more lines to the output panel and scrolls to the end.
|
| |
Manages the debugger's eval panel: enabling/disabling controls based on pause state, executing Lua expressions, clearing I/O, and appending batched logpoint output lines.
◆ LuaDebuggerEvalController()
Constructs the controller with a reference to the host dialog.
- Parameters
-
◆ appendOutputLines()
| void LuaDebuggerEvalController::appendOutputLines |
( |
const QStringList & |
lines | ) |
|
Appends one or more lines to the output panel and scrolls to the end.
- Parameters
-
| lines | The lines to append, typically drained from a logpoint buffer. |
◆ attach()
| void LuaDebuggerEvalController::attach |
( |
QPlainTextEdit * |
input, |
|
|
QPlainTextEdit * |
output, |
|
|
QPushButton * |
evalBtn, |
|
|
QPushButton * |
clearBtn |
|
) |
| |
Binds the controller to the panel's UI widgets.
- Parameters
-
| input | The text edit used for expression input. |
| output | The text edit used to display evaluation results. |
| evalBtn | The button that triggers expression evaluation. |
| clearBtn | The button that clears the input and output fields. |
The documentation for this class was generated from the following files: