| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   26   connect( mView, &QgsModelGraphicsView::willBeDeleted, 
this, [ = ]
 
   34   const int diffX = endViewPoint.x() - startViewPoint.x();
 
   35   const 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...