MCPcopy Create free account
hub / github.com/Zalafina/QKeyMapper / applyButtonStyle

Method applyButtonStyle

QKeyMapper/qvbuttonpanel.cpp:512–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512void QVButtonPanel::applyButtonStyle(QToolButton *button, bool locked)
513{
514 if (!button) {
515 return;
516 }
517
518 button->setStyleSheet(makeVButtonStyleSheet(m_btnColor, m_pressedColor, m_lockedColor, m_txtColor, locked));
519}
520
521QString QVButtonPanel::extractButtonLabel(const QString &vbuttonKey) const
522{

Callers

nothing calls this directly

Calls 1

makeVButtonStyleSheetFunction · 0.85

Tested by

no test coverage detected