18 #ifndef _GAZEBO_GUI_GRID_LINES_HH_
19 #define _GAZEBO_GUI_GRID_LINES_HH_
30 class GridLinesPrivate;
42 public:
GridLines(
int _width,
int _height);
50 public :
void SetSize(
int _width,
int _height);
54 private:
virtual QRectF boundingRect()
const;
60 private:
virtual void paint(QPainter *_painter,
61 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
65 private:
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *_event);
69 private:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *_event);
73 private: std::unique_ptr<GridLinesPrivate> dataPtr;
#define GZ_GUI_VISIBLE
Definition: system.hh:284
2D grid lines.
Definition: GridLines.hh:37