MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / ~ElaIconButton

Method ~ElaIconButton

ElaWidgetTools/ElaIconButton.cpp:133–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 else
132 {
133 painter.setPen(isEnabled() ? d->_themeMode == ElaThemeType::Light ? underMouse() ? d->_pLightHoverIconColor : d->_pLightIconColor : underMouse() ? d->_pDarkHoverIconColor
134 : d->_pDarkIconColor
135 : ElaThemeColor(d->_themeMode, BasicTextDisable));
136 painter.drawText(rect(), Qt::AlignCenter, QChar(d->_pAwesome));
137 }
138 painter.restore();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected