MCPcopy Create free account
hub / github.com/aui-framework/aui / addViewCustomLayout

Method addViewCustomLayout

aui.views/src/AUI/View/AViewContainerBase.cpp:156–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void AViewContainerBase::addViewCustomLayout(const _<AView>& view) {
157 mViews << view;
158 view->mParent = this;
159 view->setSize(view->getMinimumSize());
160 view->mSkipUntilLayoutUpdate = true;
161 AUI_NULLSAFE(mLayout)->addView(view);
162 view->onViewGraphSubtreeChanged();
163 invalidateCaches();
164 emit childrenChanged;
165}
166
167void AViewContainerBase::addView(size_t index, const _<AView>& view) {
168 view->mSkipUntilLayoutUpdate = true;

Callers 1

MenuContainerMethod · 0.80

Calls 4

getMinimumSizeMethod · 0.80
setSizeMethod · 0.45
addViewMethod · 0.45

Tested by

no test coverage detected