MCPcopy Create free account
hub / github.com/KDE/labplot / resizeEvent

Method resizeEvent

src/frontend/worksheet/WorksheetView.cpp:833–843  ·  view source on GitHub ↗

############################################################################## #################################### Events ############################### ##############################################################################

Source from the content-addressed store, hash-verified

831// #################################### Events ###############################
832// ##############################################################################
833void 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
845void WorksheetView::wheelEvent(QWheelEvent* event) {
846 if (isInteractive() && (m_mouseMode == MouseMode::ZoomSelection || (QApplication::keyboardModifiers() & Qt::ControlModifier))) {

Callers

nothing calls this directly

Calls 1

processResizeMethod · 0.95

Tested by

no test coverage detected