src/glRenderer.h

changeset 1110
ec3ee7da7806
parent 1109
a55b2608a395
child 1111
471572db2fe1
equal deleted inserted replaced
1109:a55b2608a395 1110:ec3ee7da7806
95 bool mouseHasMoved() const; 95 bool mouseHasMoved() const;
96 QPoint const& mousePosition() const; 96 QPoint const& mousePosition() const;
97 QPointF const& mousePositionF() const; 97 QPointF const& mousePositionF() const;
98 void needZoomToFit(); 98 void needZoomToFit();
99 LDObject* objectAtCursor() const; 99 LDObject* objectAtCursor() const;
100 void pick(int mouseX, int mouseY, bool additive); 100 QSet<LDObject*> pick(const QRect& range);
101 void pick(const QRect& range, bool additive); 101 LDObject* pick(int mouseX, int mouseY);
102 LDObject* pickOneObject(int mouseX, int mouseY);
103 void refresh(); 102 void refresh();
104 void resetAllAngles(); 103 void resetAllAngles();
105 void resetAngles(); 104 void resetAngles();
106 void setBackground(); 105 void setBackground();
107 void setCamera(Camera cam); 106 void setCamera(Camera cam);
113 void zoomNotch(bool inward); 112 void zoomNotch(bool inward);
114 113
115 static const QPen thinBorderPen; 114 static const QPen thinBorderPen;
116 115
117 protected: 116 protected:
118 void contextMenuEvent(QContextMenuEvent* event);
119 void dragEnterEvent(QDragEnterEvent* event);
120 void initializeGL(); 117 void initializeGL();
121 void keyPressEvent(QKeyEvent* event); 118 void keyPressEvent(QKeyEvent* event);
122 void keyReleaseEvent(QKeyEvent* event); 119 void keyReleaseEvent(QKeyEvent* event);
123 void leaveEvent(QEvent* event); 120 void leaveEvent(QEvent* event);
124 void mousePressEvent(QMouseEvent* event); 121 void mousePressEvent(QMouseEvent* event);

mercurial