| 133 // |
133 // |
| 134 // The main renderer object, draws the brick on the screen, manages the camera |
134 // The main renderer object, draws the brick on the screen, manages the camera |
| 135 // and selection picking. The instance of GLRenderer is accessible as |
135 // and selection picking. The instance of GLRenderer is accessible as |
| 136 // g_win->R() |
136 // g_win->R() |
| 137 // |
137 // |
| 138 class GLRenderer : public QGLWidget, protected QOpenGLFunctions |
138 class GLRenderer : public QGLWidget, protected QOpenGLFunctions, public HierarchyElement |
| 139 { |
139 { |
| 140 public: |
140 public: |
| 141 Q_OBJECT |
141 Q_OBJECT |
| 142 PROPERTY (public, bool, isDrawOnly, setDrawOnly, STOCK_WRITE) |
142 PROPERTY (public, bool, isDrawOnly, setDrawOnly, STOCK_WRITE) |
| 143 PROPERTY (public, MessageManager*, messageLog, setMessageLog, STOCK_WRITE) |
143 PROPERTY (public, MessageManager*, messageLog, setMessageLog, STOCK_WRITE) |