MCPcopy Create free account
hub / github.com/MITK/MITK / RemoveOneLayout

Method RemoveOneLayout

Modules/QtWidgets/src/QmitkMultiWidgetLayoutManager.cpp:525–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525void QmitkMultiWidgetLayoutManager::RemoveOneLayout()
526{
527 MITK_DEBUG << "Remove single render window";
528
529 m_MultiWidget->ActivateMenuWidget(false);
530
531 m_CurrentRenderWindowWidget->hide();
532
533 m_MultiWidget->ActivateMenuWidget(true);
534
535 auto allRenderWindows = m_MultiWidget->GetRenderWindows();
536 for (auto& renderWindow : allRenderWindows)
537 {
538 renderWindow->UpdateLayoutDesignList(LayoutDesign::NONE);
539 }
540}

Callers

nothing calls this directly

Calls 3

ActivateMenuWidgetMethod · 0.45
GetRenderWindowsMethod · 0.45

Tested by

no test coverage detected