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

Method extractButtonLabel

QKeyMapper/qvbuttonpanel.cpp:521–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521QString QVButtonPanel::extractButtonLabel(const QString &vbuttonKey) const
522{
523 static QRegularExpression re(VBUTTON_REGEX_PATTERN);
524 QRegularExpressionMatch m = re.match(vbuttonKey);
525 return m.hasMatch() ? m.captured(1) : vbuttonKey;
526}
527
528QPoint QVButtonPanel::calculateReferenceOrigin(int referencePoint) const
529{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected