15#ifndef LUA_DEBUGGER_EVALUATE_H
16#define LUA_DEBUGGER_EVALUATE_H
47 void attach(QPlainTextEdit *
input, QPlainTextEdit *output, QPushButton *evalBtn, QPushButton *clearBtn);
76 QPlainTextEdit *input_ =
nullptr;
79 QPlainTextEdit *output_ =
nullptr;
82 QPushButton *evalBtn_ =
nullptr;
85 QPushButton *clearBtn_ =
nullptr;
Top-level dialog hosting the Lua debugger UI components.
Definition lua_debugger_dialog.h:189
Manages the debugger's eval panel: enabling/disabling controls based on pause state,...
Definition lua_debugger_evaluate.h:30
void attach(QPlainTextEdit *input, QPlainTextEdit *output, QPushButton *evalBtn, QPushButton *clearBtn)
Binds the controller to the panel's UI widgets.
Definition lua_debugger_evaluate.cpp:35
void updatePanelState() const
Updates the enabled/disabled state of panel widgets based on the current debugger pause state.
Definition lua_debugger_evaluate.cpp:46
void onEvaluate()
Slot that reads the input expression and submits it to the Lua debugger for evaluation.
Definition lua_debugger_evaluate.cpp:88
void appendOutputLines(const QStringList &lines)
Appends one or more lines to the output panel and scrolls to the end.
Definition lua_debugger_evaluate.cpp:72
void onEvalClear()
Slot that clears both the input and output text fields.
Definition lua_debugger_evaluate.cpp:133