onBoundingRectChanged();
}
+void GraphicsView_ViewPort::clearItems()
+{
+ myHighlightedObject = 0;
+ mySelectedObjects.clear();
+ myObjects.clear();
+ myScene->clear();
+ onBoundingRectChanged();
+}
+
//================================================================
// Function : getObjects
// Purpose :
void addItem( QGraphicsItem* theItem );
bool isItemAdded( QGraphicsItem* theItem );
void removeItem( QGraphicsItem* theItem );
+ void clearItems();
enum SortType { NoSorting, SelectedFirst, SortByZLevel };
GraphicsView_ObjectList getObjects( SortType theSortType = NoSorting ) const;