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 #2052: Modification of parameters don't work (sketch, extrusion)
[modules/shaper.git]
/
src
/
SHAPERGUI
/
SHAPERGUI_DataModel.h
diff --git
a/src/SHAPERGUI/SHAPERGUI_DataModel.h
b/src/SHAPERGUI/SHAPERGUI_DataModel.h
index e553f8cccda533b43e45d0778cd7ab09196e0df2..5eb87cc86a065ce6292ff7ed8c69296a950dadb9 100644
(file)
--- a/
src/SHAPERGUI/SHAPERGUI_DataModel.h
+++ b/
src/SHAPERGUI/SHAPERGUI_DataModel.h
@@
-1,26
+1,26
@@
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-#ifndef
NEWGEOM
_DATAMODEL_H
-#define
NEWGEOM
_DATAMODEL_H
+#ifndef
SHAPERGUI
_DATAMODEL_H
+#define
SHAPERGUI
_DATAMODEL_H
-#include "
NewGeom
.h"
+#include "
SHAPER_SHAPERGUI
.h"
#include <LightApp_DataModel.h>
#include <LightApp_DataModel.h>
-class
NewGeom_Module
;
+class
SHAPERGUI
;
/**
* \ingroup Salome
* A Data Model class provides a connection of SALOME data structure and OpenParts application data model
*/
/**
* \ingroup Salome
* A Data Model class provides a connection of SALOME data structure and OpenParts application data model
*/
-class
NewGeom_EXPORT NewGeom
_DataModel : public LightApp_DataModel
+class
SHAPERGUI_EXPORT SHAPERGUI
_DataModel : public LightApp_DataModel
{
Q_OBJECT
public:
/// Constructor
/// \param theModule a module instance
{
Q_OBJECT
public:
/// Constructor
/// \param theModule a module instance
-
NewGeom_DataModel(NewGeom_Module
* theModule);
- virtual ~
NewGeom
_DataModel();
+
SHAPERGUI_DataModel(SHAPERGUI
* theModule);
+ virtual ~
SHAPERGUI
_DataModel();
/// Open a data file
/// \param thePath a path to the directory
/// Open a data file
/// \param thePath a path to the directory
@@
-61,6
+61,9
@@
class NewGeom_EXPORT NewGeom_DataModel : public LightApp_DataModel
/// \param theStudy a current study
virtual void update(LightApp_DataObject* theObj = 0, LightApp_Study* theStudy = 0);
/// \param theStudy a current study
virtual void update(LightApp_DataObject* theObj = 0, LightApp_Study* theStudy = 0);
+ /// Redefinition of virtual method: include the module dump in the common SALOME dump
+ virtual bool dumpPython( const QString&, CAM_Study*, bool, QStringList& );
+
protected:
/**
* Removes the directory with content if it exists
protected:
/**
* Removes the directory with content if it exists
@@
-73,11
+76,11
@@
protected:
QString myStudyPath;
/// a path to the temporary directory, created by opening a document file
QString myStudyPath;
/// a path to the temporary directory, created by opening a document file
- QString myTmpDirectory;
+ QString myTmpDirectory;
/// it should be created because the files reading is postponed in the module. The directory
// should be removed after the model document is closed.
/// it should be created because the files reading is postponed in the module. The directory
// should be removed after the model document is closed.
-
NewGeom_Module
* myModule;
+
SHAPERGUI
* myModule;
};
#endif
};
#endif