29 if ( event->modifiers() & Qt::ShiftModifier )
32 const QPoint invertedPixelDelta = QPoint( event->pixelDelta().y(), event->pixelDelta().x() );
33 const QPoint invertedAngleDelta = QPoint( event->angleDelta().y(), event->angleDelta().x() );
35 QWheelEvent axisSwappedScrollEvent( event->position(), event->position(),
36 invertedPixelDelta, invertedAngleDelta,
37 event->buttons(), event->modifiers() & ~Qt::ShiftModifier, event->phase(),
38 event->inverted(), event->source() );
39 QTableView::wheelEvent( &axisSwappedScrollEvent );
43 QTableView::wheelEvent( event );