26   connect( mView, &QgsModelGraphicsView::willBeDeleted, 
this, [ = ]
 
   34   int diffX = endViewPoint.x() - startViewPoint.x();
 
   35   int diffY = endViewPoint.y() - startViewPoint.y();
 
   36   return std::abs( diffX ) >= 2 || std::abs( diffY ) >= 2;
 
   46   return qobject_cast< QgsModelGraphicsScene * >( mView->scene() );
 
   52     mView->unsetTool( 
this );
 
  124     mAction->setChecked( 
true );
 
  126   mView->viewport()->setCursor( mCursor );
 
  133     mAction->setChecked( 
false );
 
A QgsModelViewMouseEvent is the result of a user interaction with the mouse on a QgsModelGraphicsView...