18 #ifndef _GAZEBO_GRAPH_VIEW_HH_
19 #define _GAZEBO_GRAPH_VIEW_HH_
42 private:
void resizeEvent(QResizeEvent *_event);
47 private:
void scrollContentsBy(
int _dx,
int _dy);
51 private:
void contextMenuEvent(QContextMenuEvent *_event);
55 private:
void wheelEvent(QWheelEvent *_event);
59 private:
void mouseMoveEvent(QMouseEvent *_event);
63 private:
void mousePressEvent(QMouseEvent *_event);
67 private:
void mouseReleaseEvent(QMouseEvent *_event);
71 private:
void mouseDoubleClickEvent(QMouseEvent *_event);
75 private:
void keyPressEvent(QKeyEvent *_event);
86 private:
double viewScale;
virtual ~GraphView()=default
Destructor.
void itemDoubleClicked(QString _id)
Qt signal emitted when an item is double clicked.
A view for the graph scene.
Definition: GraphView.hh:29
GraphView(QWidget *_parent=0)
Constructor.
void customContextMenuRequested(QString _id)
Qt signal emitted when a context menu event is triggered.