| 603 | |
| 604 | |
| 605 | GlobalDebugModulesContainer::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 | |
| 620 | DebugModulesWithFilter* GlobalDebugModulesContainer::currentWidget() const |
nothing calls this directly
no outgoing calls
no test coverage detected