made WorldspaceWidget::getDocument public (EditModes will need the document later)

This commit is contained in:
Marc Zinnschlag 2015-10-02 15:06:42 +02:00
parent 323f8bb29f
commit 4b0fa370e3

View file

@ -112,6 +112,8 @@ namespace CSVRender
virtual void setEditLock (bool locked); virtual void setEditLock (bool locked);
CSMDoc::Document& getDocument();
/// \param elementMask Elements to be affected by the clear operation /// \param elementMask Elements to be affected by the clear operation
virtual void clearSelection (int elementMask) = 0; virtual void clearSelection (int elementMask) = 0;
@ -121,8 +123,6 @@ namespace CSVRender
virtual void addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool); virtual void addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool);
CSMDoc::Document& getDocument();
virtual void updateOverlay(); virtual void updateOverlay();
virtual void mouseMoveEvent (QMouseEvent *event); virtual void mouseMoveEvent (QMouseEvent *event);