QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
33 int diffX = endViewPoint.x() - startViewPoint.x();
34 int diffY = endViewPoint.y() - startViewPoint.y();
35 return std::abs( diffX ) >= 2 || std::abs( diffY ) >= 2;
50 return QList<QgsLayoutItem *>();
124 mAction->setChecked(
true );
126 mView->viewport()->setCursor( mCursor );
133 mAction->setChecked(
false );
void unsetTool(QgsLayoutViewTool *tool)
Unsets the current view tool, if it matches the specified tool.
QgsLayout * currentLayout
void willBeDeleted()
Emitted in the destructor when the view is about to be deleted, but is still in a perfectly valid sta...
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
A graphical widget to display and interact with QgsLayouts.
A QgsLayoutViewMouseEvent is the result of a user interaction with the mouse on a QgsLayoutView.