17#include "moc_qgslayoutviewtool.cpp" 
   33  const int diffX = endViewPoint.x() - startViewPoint.x();
 
   34  const int diffY = endViewPoint.y() - startViewPoint.y();
 
   35  return std::abs( diffX ) >= 2 || std::abs( diffY ) >= 2;
 
 
   50  return QList<QgsLayoutItem *>();
 
 
  123    mAction->setChecked( 
true );
 
  125  mView->viewport()->setCursor( mCursor );
 
 
  132    mAction->setChecked( 
false );
 
 
A mouse event which is the result of a user interaction with a QgsLayoutView.
 
A graphical widget to display and interact with QgsLayouts.
 
QgsLayout * currentLayout
 
void willBeDeleted()
Emitted in the destructor when the view is about to be deleted, but is still in a perfectly valid sta...
 
void unsetTool(QgsLayoutViewTool *tool)
Unsets the current view tool, if it matches the specified tool.
 
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.