src/glrenderer.h

changeset 1251
e75cc5bff076
parent 1247
7e1ce2fc066b
child 1278
6e1ea24e5a5e
--- 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<LDObject*> 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;

mercurial