QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
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 );