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

Method GetViewLayoutRec

Plugins/org.blueberry.ui.qt/src/internal/berryPageLayout.cpp:69–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69ViewLayoutRec::Pointer PageLayout::GetViewLayoutRec(const QString& id, bool create)
70{
71 ViewLayoutRec::Pointer rec = mapIDtoViewLayoutRec[id];
72 if (rec == 0 && create)
73 {
74 rec = new ViewLayoutRec();
75 // set up the view layout appropriately if the page layout is fixed
76 if (this->IsFixed())
77 {
78 rec->isCloseable = false;
79 rec->isMoveable = false;
80 }
81 mapIDtoViewLayoutRec[id] = rec;
82 }
83 return rec;
84}
85
86void PageLayout::AddPart(LayoutPart::Pointer newPart,
87 const QString& partId, int relationship, float ratio,

Callers 8

AddPlaceholderMethod · 0.95
AddViewMethod · 0.95
StackPartMethod · 0.95
AddStandaloneViewMethod · 0.95
GetViewLayoutMethod · 0.95
LinkPartToPageLayoutMethod · 0.45
LinkPartToPageLayoutMethod · 0.45

Calls 1

IsFixedMethod · 0.95

Tested by

no test coverage detected