class ModuleBase_IViewWindow;
/**
+ * \ingroup GUI
* A Base object for definition of connector object to
* Salome Viewer. Reimplemented in NewGeom_SalomeViewer class
*/
/// 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();
/// 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