src/glrenderer.h

changeset 1438
988b6563d47d
parent 1437
1a77c6156db7
equal deleted inserted replaced
1437:1a77c6156db7 1438:988b6563d47d
50 QPen textPen() const; 50 QPen textPen() const;
51 QItemSelectionModel* selectionModel() const; 51 QItemSelectionModel* selectionModel() const;
52 void setSelectionModel(QItemSelectionModel* selectionModel); 52 void setSelectionModel(QItemSelectionModel* selectionModel);
53 53
54 signals: 54 signals:
55 void closed();
55 void objectHighlightingChanged(const QModelIndex& oldIndex, const QModelIndex& newIndex); 56 void objectHighlightingChanged(const QModelIndex& oldIndex, const QModelIndex& newIndex);
56 57
57 protected: 58 protected:
58 void initializeGL(); 59 void closeEvent(QCloseEvent* event) override;
60 void initializeGL() override;
59 virtual void drawFixedCameraBackdrop(); 61 virtual void drawFixedCameraBackdrop();
60 void keyPressEvent(QKeyEvent* event); 62 void keyPressEvent(QKeyEvent* event) override;
61 void keyReleaseEvent(QKeyEvent* event); 63 void keyReleaseEvent(QKeyEvent* event) override;
62 void leaveEvent(QEvent* event); 64 void leaveEvent(QEvent* event) override;
63 void mousePressEvent(QMouseEvent* event); 65 void mousePressEvent(QMouseEvent* event) override;
64 void mouseMoveEvent(QMouseEvent* ev); 66 void mouseMoveEvent(QMouseEvent* ev) override;
65 void mouseReleaseEvent(QMouseEvent* ev); 67 void mouseReleaseEvent(QMouseEvent* ev) override;
66 void paintEvent(QPaintEvent*); 68 void paintEvent(QPaintEvent*) override;
67 void resizeGL(int w, int h); 69 void resizeGL(int w, int h) override;
68 void wheelEvent(QWheelEvent* ev); 70 void wheelEvent(QWheelEvent* ev) override;
69 71
70 QColor backgroundColor() const; 72 QColor backgroundColor() const;
71 virtual bool freeCameraAllowed() const; 73 virtual bool freeCameraAllowed() const;
72 bool isDrawingSelectionScene() const; 74 bool isDrawingSelectionScene() const;
73 Qt::MouseButtons lastButtons() const; 75 Qt::MouseButtons lastButtons() const;

mercurial