X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IViewer.h;h=feed61ee2ac2adff4aed87bae1cbffe64cb72a11;hb=872ac5e3e0196ad70c2a01a79bd070c9a7d4a2e6;hp=c84a7d0582a8d58cae71e96ba12aaa443493fec4;hpb=331af9b7eb4feddf17c37fe2ce1f0f046f522145;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IViewer.h b/src/ModuleBase/ModuleBase_IViewer.h index c84a7d058..feed61ee2 100644 --- a/src/ModuleBase/ModuleBase_IViewer.h +++ b/src/ModuleBase/ModuleBase_IViewer.h @@ -14,6 +14,7 @@ class QContextMenuEvent; class ModuleBase_IViewWindow; /** + * \ingroup GUI * A Base object for definition of connector object to * Salome Viewer. Reimplemented in NewGeom_SalomeViewer class */ @@ -74,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(); @@ -113,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