X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IViewer.h;h=feed61ee2ac2adff4aed87bae1cbffe64cb72a11;hb=af851100774c4ff33b515c884abe0cd03c3f0528;hp=ba7ee1b28f536114857a3d6e195018efd5a86e49;hpb=a2686c838648dcf05659df3c31d9b90aca42b792;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IViewer.h b/src/ModuleBase/ModuleBase_IViewer.h index ba7ee1b28..feed61ee2 100644 --- a/src/ModuleBase/ModuleBase_IViewer.h +++ b/src/ModuleBase/ModuleBase_IViewer.h @@ -75,6 +75,10 @@ Q_OBJECT /// Update current viewer virtual void update() = 0; + /// Method returns True if the viewer can process editing objects + /// by mouse drugging. If this is impossible thet it has to return False. + virtual bool canDragByMouse() const { return true; } + signals: /// Signal emited when last view window is closed void lastViewClosed(); @@ -114,6 +118,10 @@ signals: /// Signal emited on selection changed void contextMenuRequested(QContextMenuEvent*); + + /// Signal emitted on transformation of view point in view window + /// \param theTransformation type of transformation (see AppElements_ViewWindow::OperationType) + void viewTransformed(int theTransformation); }; #endif