MCPcopy Create free account
hub / github.com/Vector35/debugger / GlobalDebugModulesContainer

Method GlobalDebugModulesContainer

ui/moduleswidget.cpp:605–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603
604
605GlobalDebugModulesContainer::GlobalDebugModulesContainer(const QString& title) :
606 GlobalAreaWidget(title), m_currentFrame(nullptr), m_consoleStack(new QStackedWidget)
607{
608 auto* layout = new QVBoxLayout(this);
609 layout->setContentsMargins(0, 0, 0, 0);
610 layout->addWidget(m_consoleStack);
611
612 auto* noViewLabel = new QLabel("No active view.");
613 noViewLabel->setStyleSheet("QLabel { background: palette(base); }");
614 noViewLabel->setAlignment(Qt::AlignCenter);
615
616 m_consoleStack->addWidget(noViewLabel);
617}
618
619
620DebugModulesWithFilter* GlobalDebugModulesContainer::currentWidget() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected