############################################################################## #################################### Events ############################### ##############################################################################
| 831 | // #################################### Events ############################### |
| 832 | // ############################################################################## |
| 833 | void WorksheetView::resizeEvent(QResizeEvent* event) { |
| 834 | if (m_isClosing) |
| 835 | return; |
| 836 | |
| 837 | if (m_worksheet->useViewSize()) |
| 838 | this->processResize(); |
| 839 | else |
| 840 | updateFit(); |
| 841 | |
| 842 | QGraphicsView::resizeEvent(event); |
| 843 | } |
| 844 | |
| 845 | void WorksheetView::wheelEvent(QWheelEvent* event) { |
| 846 | if (isInteractive() && (m_mouseMode == MouseMode::ZoomSelection || (QApplication::keyboardModifiers() & Qt::ControlModifier))) { |
nothing calls this directly
no test coverage detected