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

Method collapseNode

ElaWidgetTools/ElaNavigationBar.cpp:393–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void ElaNavigationBar::collapseNode(const QString& expanderKey)
394{
395 Q_D(ElaNavigationBar);
396 ElaNavigationNode* node = d->_navigationModel->getNavigationNode(expanderKey);
397 if (!node || !node->getIsExpanderNode())
398 {
399 return;
400 }
401 d->_expandOrCollapseExpanderNode(node, false);
402 d->_resetNodeSelected();
403}
404
405void ElaNavigationBar::removeNode(const QString& nodeKey)
406{

Callers 1

Calls 3

_resetNodeSelectedMethod · 0.80
getNavigationNodeMethod · 0.45

Tested by

no test coverage detected