94 virtual void wheelEvent( QWheelEvent *event );
99 virtual void keyPressEvent( QKeyEvent *event );
104 virtual void keyReleaseEvent( QKeyEvent *event );
109 virtual bool allowItemInteraction();
118 void setAction( QAction *action );
129 void setCursor(
const QCursor &cursor );
135 virtual void activate();
141 virtual void deactivate();
152 QgsModelGraphicsView *view()
const;
158 QgsModelGraphicsScene *scene()
const;
197 bool isClickAndDrag( QPoint startViewPoint, QPoint endViewPoint )
const;
201 QgsModelGraphicsView *mView =
nullptr;
206 QCursor mCursor = Qt::ArrowCursor;
209 QPointer<QAction> mAction;