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

Method RollBackToSingleDefaultCell

Modules/QtWidgets/src/QmitkMxNMultiWidget.cpp:1240–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238}
1239
1240void QmitkMxNMultiWidget::RollBackToSingleDefaultCell()
1241{
1242 this->TearDownAllCells();
1243 // SetLayout(1, 1) walks SetLayoutImpl, which auto-creates one cell via the
1244 // positional CreateRenderWindowWidget path (bare name 'widget0'). That
1245 // path also assigns the cell to the default sync group 1.
1246 this->SetLayout(1, 1);
1247}
1248
1249void QmitkMxNMultiWidget::ValidateIdsForThisEditor(const nlohmann::json& doc) const
1250{

Callers 1

ApplyLayoutMethod · 0.95

Calls 2

TearDownAllCellsMethod · 0.95
SetLayoutMethod · 0.80

Tested by

no test coverage detected