Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #355 Delete: elements of sketch and constraints
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_IViewer.h
diff --git
a/src/ModuleBase/ModuleBase_IViewer.h
b/src/ModuleBase/ModuleBase_IViewer.h
index ba7ee1b28f536114857a3d6e195018efd5a86e49..3cf3bc5ab332613847b717ad872f65de38ee6f00 100644
(file)
--- 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;
/// 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();
signals:
/// Signal emited when last view window is closed
void lastViewClosed();