MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / wheelEvent

Method wheelEvent

AdaptixClient/Source/UI/Graph/SessionsGraph.cpp:267–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void SessionsGraph::wheelEvent( QWheelEvent* event )
268{
269 if ( QApplication::keyboardModifiers() & Qt::ShiftModifier ) {
270 horizontalScrollBar()->event( event );
271 }
272 else if ( QApplication::keyboardModifiers() & Qt::ControlModifier ) {
273 scaleView( pow( 2., event->angleDelta().y() / 500.0 ) );
274 event->accept();
275 return;
276 }
277 else {
278 verticalScrollBar()->event( event );
279 }
280 event->accept();
281}

Callers

nothing calls this directly

Calls 3

eventMethod · 0.45
yMethod · 0.45
acceptMethod · 0.45

Tested by

no test coverage detected