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

Method getNodeIsExpanded

ElaWidgetTools/ElaNavigationBar.cpp:370–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370bool ElaNavigationBar::getNodeIsExpanded(const QString& expanderKey) const
371{
372 Q_D(const ElaNavigationBar);
373 ElaNavigationNode* node = d->_navigationModel->getNavigationNode(expanderKey);
374 if (!node || !node->getIsExpanderNode())
375 {
376 return false;
377 }
378 return d->_navigationView->isExpanded(node->getModelIndex());
379}
380
381void ElaNavigationBar::expandNode(const QString& expanderKey)
382{

Callers 1

Calls 1

getNavigationNodeMethod · 0.45

Tested by

no test coverage detected