CommandLogWidget
CommandLogWidget
Widget displaying recorded commands from a CommandRecorder. More…
#include <CommandLogWidget.hpp>
Inherits from QWidget
Public Functions
| Name | |
|---|---|
| CommandLogWidget(commands::CommandRecorder * recorder, QWidget * parent =[nullptr]) Construct the Command Log widget. |
|
| ~CommandLogWidget() override =default | |
| void | refresh() Refresh the displayed command list from the recorder. |
Detailed Description
class CommandLogWidget;Widget displaying recorded commands from a CommandRecorder.
Shows command names and parameters in a list. Provides buttons to copy the full trace as JSON or clear the recorder.
Public Functions Documentation
function CommandLogWidget
explicit CommandLogWidget(
commands::CommandRecorder * recorder,
QWidget * parent =nullptr
)Construct the Command Log widget.
Parameters:
- recorder Non-owning pointer to the shared CommandRecorder
- parent Parent QWidget
function ~CommandLogWidget
~CommandLogWidget() override =defaultfunction refresh
void refresh()Refresh the displayed command list from the recorder.
Call this after commands are executed to update the display. Also called automatically via a periodic poll timer.
Updated on 2026-11-13 at 20:25:41 +0000