src/mainwindow.h

changeset 1257
0d42a1ebd954
parent 1256
3fea6bc1519b
child 1283
3c3a5eb965f7
--- a/src/mainwindow.h	Fri Mar 02 22:23:53 2018 +0200
+++ b/src/mainwindow.h	Sat Mar 03 15:14:07 2018 +0200
@@ -73,6 +73,7 @@
 	void createBlankDocument();
 	LDDocument* currentDocument();
 	void currentDocumentClosed();
+	QItemSelectionModel* currentSelectionModel();
 	QKeySequence defaultShortcut (QAction* act);
 	void deleteByColor (LDColor color);
 	int deleteSelection();
@@ -95,10 +96,12 @@
 	PrimitiveManager* primitives();
 	Canvas* renderer();
 	void refresh();
+	void replaceSelection(const QItemSelection& selection);
 	bool ringToolHiRes() const;
 	int ringToolSegments() const;
 	bool save (LDDocument* doc, bool saveAs);
 	void saveShortcuts();
+	void select(const QModelIndex& objectIndex);
 	QModelIndexList selectedIndexes() const;
 	QSet<LDObject*> selectedObjects() const;
 	void setQuickColors (const QVector<ColorToolbarItem> &colors);

mercurial