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

Method mousePressEvent

ElaWidgetTools/ElaToggleSwitch.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 break;
87 }
88 default:
89 {
90 break;
91 }
92 }
93 return QWidget::event(event);
94}
95
96void ElaToggleSwitch::mousePressEvent(QMouseEvent* event)
97{
98 if (event->button() != Qt::LeftButton)
99 {

Callers

nothing calls this directly

Calls 2

_adjustCircleCenterXMethod · 0.80
_startRadiusAnimationMethod · 0.45

Tested by

no test coverage detected