16 #ifndef QGSLAYOUTVIEWTOOL_H 
   17 #define QGSLAYOUTVIEWTOOL_H 
   52       sipType = sipType_QgsLayoutViewToolAddItem;
 
   67     Q_DECLARE_FLAGS( Flags, Flag )
 
   75     QgsLayoutViewTool::Flags flags() 
const;
 
  108     virtual void wheelEvent( QWheelEvent *event );
 
  113     virtual void keyPressEvent( QKeyEvent *event );
 
  118     virtual void keyReleaseEvent( QKeyEvent *event );
 
  127     void setAction( QAction *action );
 
  138     void setCursor( 
const QCursor &cursor );
 
  144     virtual void activate();
 
  150     virtual void deactivate();
 
  173     virtual QList< QgsLayoutItem * > ignoredSnapItems() 
const;
 
  199     void setFlags( QgsLayoutViewTool::Flags flags );
 
  213     bool isClickAndDrag( QPoint startViewPoint, QPoint endViewPoint ) 
const;
 
  220     QgsLayoutViewTool::Flags mFlags = QgsLayoutViewTool::Flags();
 
  223     QCursor mCursor = Qt::ArrowCursor;
 
  226     QPointer< QAction > mAction;
 
  231     friend class TestQgsLayoutView;
 
Base class for graphical items within a QgsLayout.
A QgsLayoutViewMouseEvent is the result of a user interaction with the mouse on a QgsLayoutView.
A graphical widget to display and interact with QgsLayouts.
Base class for layouts, which can contain items such as maps, labels, scalebars, etc.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)