18 #ifndef _GRID_LINES_HH_
19 #define _GRID_LINES_HH_
38 public :
GridLines(
int _width,
int _height);
46 public :
void SetSize(
int _width,
int _height);
50 private:
virtual QRectF boundingRect()
const;
56 private:
virtual void paint(QPainter *_painter,
57 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
61 private:
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent *_event);
65 private:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *_event);
69 private:
virtual void mouseMoveEvent(
70 QGraphicsSceneDragDropEvent *_event);
74 private:
virtual void mousePressEvent(
75 QGraphicsSceneDragDropEvent *_event);
#define GZ_GUI_BUILDING_VISIBLE
Definition: system.hh:393
2D grid lines.
Definition: GridLines.hh:33