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
#29481: Show parts in study tree (parts drag and drop)
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_Operation.h
diff --git
a/src/ModuleBase/ModuleBase_Operation.h
b/src/ModuleBase/ModuleBase_Operation.h
index 4ea8c6c4493267c41597323cf0d420e1b80768ba..570828f0ba1668b81100ffc35aa57e54708260fd 100644
(file)
--- a/
src/ModuleBase/ModuleBase_Operation.h
+++ b/
src/ModuleBase/ModuleBase_Operation.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
17
CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
22
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef ModuleBase_Operation_H
//
#ifndef ModuleBase_Operation_H
@@
-81,10
+80,7
@@
Q_OBJECT
virtual bool isGranted(QString theId) const;
/// Returns True if data of its feature was modified during operation
virtual bool isGranted(QString theId) const;
/// Returns True if data of its feature was modified during operation
- virtual bool isModified() const { return myIsModified; }
-
- /// Change the modified state of the operation
- void setIsModified(const bool theIsModified) { myIsModified = theIsModified; }
+ virtual bool isModified() const;
/// Returns operations Id from it's description
QString id() const;
/// Returns operations Id from it's description
QString id() const;
@@
-106,6
+102,10
@@
Q_OBJECT
myHelpFileName = theName;
}
myHelpFileName = theName;
}
+ void setHideFacesVisible(bool isVisible) { myHideFacesVisibilityState = isVisible; }
+
+ bool isHideFacesVisible() const { return myHideFacesVisibilityState; }
+
signals:
/// The operation is started
void beforeStarted();
signals:
/// The operation is started
void beforeStarted();
@@
-210,6
+210,9
@@
private:
ModuleBase_IPropertyPanel* myPropertyPanel;
QString myHelpFileName;
ModuleBase_IPropertyPanel* myPropertyPanel;
QString myHelpFileName;
+
+ /// Visibility state of HideFaces panel before the operation launch
+ bool myHideFacesVisibilityState;
};
#endif
};
#endif