MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / DebugLogDock

Method DebugLogDock

src/docks/DebugLogDock.cpp:33–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33DebugLogDock::DebugLogDock(QWidget *parent) :
34 QDockWidget(parent),
35 ui(new Ui::DebugLogDock)
36{
37 ui->setupUi(this);
38
39 output = ui->txtDebugOutput;
40 DebugManager::addMessageHandler(debugLogDockMessageHandler);
41
42 connect(this, &QDockWidget::visibilityChanged, this, [=](bool visible) {
43 if (visible) {
44 ui->txtDebugOutput->horizontalScrollBar()->setValue(0);
45 }
46 });
47}
48
49DebugLogDock::~DebugLogDock()
50{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected