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

Method getNodeTitle

ElaWidgetTools/ElaNavigationBar.cpp:519–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519QString ElaNavigationBar::getNodeTitle(const QString& nodeKey) const
520{
521 Q_D(const ElaNavigationBar);
522 ElaNavigationNode* node = d->_navigationModel->getNavigationNode(nodeKey);
523 if (!node)
524 {
525 node = d->_footerModel->getNavigationNode(nodeKey);
526 }
527 if (!node)
528 {
529 return {};
530 }
531 return node->getNodeTitle();
532}
533
534void ElaNavigationBar::navigation(const QString& pageKey, bool isLogClicked, bool isRouteBack)
535{

Callers 7

addPageNodeMethod · 0.80
paintMethod · 0.80
_doCompactToolTipMethod · 0.80
drawControlMethod · 0.80
_addStackedPageMethod · 0.80
_addFooterPageMethod · 0.80

Calls 1

getNavigationNodeMethod · 0.45

Tested by

no test coverage detected