MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / getCustomMenu

Method getCustomMenu

ElaWidgetTools/ElaAppBar.cpp:285–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 if (!widget || widget == this)
284 {
285 return;
286 }
287 widget->setMinimumHeight(0);
288 widget->setMaximumHeight(height());
289 widget->setParent(this);
290 int customAreaIndex = static_cast<int>(customArea);
291 d->_mainLayout->removeWidget(d->_customAreaWidgetList[customAreaIndex]);
292 d->_mainLayout->insertWidget(2 * customAreaIndex + 1, widget);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected