18 #ifndef _GAZEBO_GUI_GRID_LINES_HH_ 19 #define _GAZEBO_GUI_GRID_LINES_HH_ 30 class GridLinesPrivate;
37 class GZ_GUI_VISIBLE
GridLines :
public QGraphicsItem
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;
Forward declarations for the common classes.
Definition: Animation.hh:33
2D grid lines.
Definition: GridLines.hh:37