| 137 | |
| 138 | void ElaNavigationBar::setUserInfoCardPixmap(const QPixmap& pix) |
| 139 | { |
| 140 | Q_D(ElaNavigationBar); |
| 141 | d->_userCard->setCardPixmap(pix); |
| 142 | d->_userButton->setPixmap(pix); |
| 143 | } |
| 144 | |
| 145 | void ElaNavigationBar::setUserInfoCardTitle(const QString& title) |
| 146 | { |
| 147 | Q_D(ElaNavigationBar); |
| 148 | d->_userCard->setTitle(title); |
| 149 | } |
| 150 | |
| 151 | void ElaNavigationBar::setUserInfoCardSubTitle(const QString& subTitle) |
| 152 | { |
| 153 | Q_D(ElaNavigationBar); |
| 154 | d->_userCard->setSubTitle(subTitle); |
| 155 | } |
| 156 | |
| 157 | ElaNavigationType::NodeResult ElaNavigationBar::addExpanderNode(const QString& expanderTitle, QString& expanderKey, ElaIconType::IconName awesome) |
| 158 | { |
| 159 | Q_D(ElaNavigationBar); |
| 160 | ElaNavigationType::NodeResult result = d_ptr->_navigationModel->addExpanderNode(expanderTitle, expanderKey, awesome); |
| 161 | if (result == ElaNavigationType::Success) |
| 162 | { |
nothing calls this directly
no outgoing calls
no test coverage detected