16#ifndef QGSLAYOUTVIEWTOOL_H
17#define QGSLAYOUTVIEWTOOL_H
51 sipType = sipType_QgsLayoutViewToolAddItem;
106 virtual void wheelEvent( QWheelEvent *event );
111 virtual void keyPressEvent( QKeyEvent *event );
116 virtual void keyReleaseEvent( QKeyEvent *event );
125 void setAction( QAction *action );
136 void setCursor(
const QCursor &cursor );
142 virtual void activate();
148 virtual void deactivate();
171 virtual QList<QgsLayoutItem *> ignoredSnapItems()
const;
210 bool isClickAndDrag( QPoint startViewPoint, QPoint endViewPoint )
const;
219 QCursor mCursor = Qt::ArrowCursor;
222 QPointer<QAction> mAction;
227 friend class TestQgsLayoutView;
Base class for graphical items within a QgsLayout.
A mouse event which is the result of a user interaction with 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)