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

Method setUserInfoCardVisible

ElaWidgetTools/ElaNavigationBar.cpp:139–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137
138void ElaNavigationBar::setUserInfoCardPixmap(const QPixmap& pix)
139{
140 Q_D(ElaNavigationBar);
141 d->_userCard->setCardPixmap(pix);
142 d->_userButton->setPixmap(pix);
143}
144
145void ElaNavigationBar::setUserInfoCardTitle(const QString& title)
146{
147 Q_D(ElaNavigationBar);
148 d->_userCard->setTitle(title);
149}
150
151void ElaNavigationBar::setUserInfoCardSubTitle(const QString& subTitle)
152{
153 Q_D(ElaNavigationBar);
154 d->_userCard->setSubTitle(subTitle);
155}
156
157ElaNavigationType::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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected