16#ifndef QGSLAYOUTVIEWTOOL_H
17#define QGSLAYOUTVIEWTOOL_H
50 sipType = sipType_QgsLayoutViewToolAddItem;
105 virtual void wheelEvent( QWheelEvent *event );
110 virtual void keyPressEvent( QKeyEvent *event );
115 virtual void keyReleaseEvent( QKeyEvent *event );
124 void setAction( QAction *action );
135 void setCursor(
const QCursor &cursor );
141 virtual void activate();
147 virtual void deactivate();
170 virtual QList<QgsLayoutItem *> ignoredSnapItems()
const;
209 bool isClickAndDrag( QPoint startViewPoint, QPoint endViewPoint )
const;
218 QCursor mCursor = Qt::ArrowCursor;
221 QPointer<QAction> mAction;
226 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)
#define SIP_ENUM_BASETYPE(type)