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