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

Method GlobalThreadFramesContainer

ui/threadframes.cpp:748–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746
747
748GlobalThreadFramesContainer::GlobalThreadFramesContainer(const QString& title) :
749 GlobalAreaWidget(title), m_currentFrame(nullptr), m_consoleStack(new QStackedWidget)
750{
751 auto* layout = new QVBoxLayout(this);
752 layout->setContentsMargins(0, 0, 0, 0);
753 layout->addWidget(m_consoleStack);
754
755 auto* noViewLabel = new QLabel("No active view.");
756 noViewLabel->setStyleSheet("QLabel { background: palette(base); }");
757 noViewLabel->setAlignment(Qt::AlignCenter);
758
759 m_consoleStack->addWidget(noViewLabel);
760}
761
762
763ThreadFramesWidget* GlobalThreadFramesContainer::currentConsole() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected