Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mantis issue 0021565: [CEA 557] Opposite of the pipe
[modules/geom.git]
/
src
/
GEOMBase
/
GEOMBase_Helper.h
diff --git
a/src/GEOMBase/GEOMBase_Helper.h
b/src/GEOMBase/GEOMBase_Helper.h
index cb4c9f4158bdc7f86e4a60eafeeaa6ab7115dcd6..5d32fd26813b7932fe442e87fadc14865d586480 100755
(executable)
--- a/
src/GEOMBase/GEOMBase_Helper.h
+++ b/
src/GEOMBase/GEOMBase_Helper.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
1
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-117,7
+117,7
@@
protected:
SalomeApp_Study* getStudy () const;
bool checkViewWindow ();
SalomeApp_Study* getStudy () const;
bool checkViewWindow ();
- bool onAccept( const bool publish = true, const bool useTransaction = true
);
+ bool onAccept( const bool publish = true, const bool useTransaction = true
, bool erasePreviewFlag = true
);
// This method should be called from "OK" button handler.
// <publish> == true means that objects returned by execute()
// should be published in a study.
// This method should be called from "OK" button handler.
// <publish> == true means that objects returned by execute()
// should be published in a study.
@@
-190,6
+190,9
@@
protected:
virtual void setIsWaitCursorEnabled( const bool theFlag ) {myIsWaitCursorEnabled = theFlag;}
virtual bool isWaitCursorEnabled() const {return myIsWaitCursorEnabled ;}
virtual void setIsWaitCursorEnabled( const bool theFlag ) {myIsWaitCursorEnabled = theFlag;}
virtual bool isWaitCursorEnabled() const {return myIsWaitCursorEnabled ;}
+ virtual void setIsDisableBrowsing( const bool theFlag ) { myIsDisableBrowsing = theFlag; }
+ virtual bool isDisableBrowsing() const { return myIsDisableBrowsing; }
+
private:
QString getEntry( GEOM::GEOM_Object_ptr ) const;
private:
QString getEntry( GEOM::GEOM_Object_ptr ) const;
@@
-210,6
+213,8
@@
private:
bool myIsApplyAndClose;
bool myIsOptimizedBrowsing;
bool myIsWaitCursorEnabled;
bool myIsApplyAndClose;
bool myIsOptimizedBrowsing;
bool myIsWaitCursorEnabled;
+ bool myIsDisableBrowsing; //This flag enable/disable selection
+ //in the Object Browser newly created objects.
};
};