diff -r 3fea6bc1519b -r 0d42a1ebd954 src/mainwindow.h --- 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 selectedObjects() const; void setQuickColors (const QVector &colors);