diff -r e2755ccf3667 -r e75cc5bff076 src/glrenderer.h --- a/src/glrenderer.h Thu Feb 15 14:59:04 2018 +0200 +++ b/src/glrenderer.h Thu Feb 22 11:41:58 2018 +0200 @@ -64,14 +64,15 @@ QPoint const& mousePosition() const; QPointF const& mousePositionF() const; QPersistentModelIndex objectAtCursor() const; - QSet pick(const QRect& range); - LDObject* pick(int mouseX, int mouseY); + QItemSelection pick(const QRect& range); + QModelIndex pick(int mouseX, int mouseY); void resetAllAngles(); void resetAngles(); QImage screenCapture(); void setBackground(); void setCamera(Camera cam); QPen textPen() const; + QItemSelectionModel* selectionModel() const; void setSelectionModel(QItemSelectionModel* selectionModel); static const QPen thinBorderPen;