Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ImportGeomObjectOp.h
diff --git
a/src/HYDROGUI/HYDROGUI_ImportGeomObjectOp.h
b/src/HYDROGUI/HYDROGUI_ImportGeomObjectOp.h
index 4b18258499033bb00d8cf399c261eeea88f63130..b8830f9fa155d6a72c2b62d6420a15dc296a73b1 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ImportGeomObjectOp.h
+++ b/
src/HYDROGUI/HYDROGUI_ImportGeomObjectOp.h
@@
-45,7
+45,7
@@
public:
public:
HYDROGUI_ImportGeomObjectOp( HYDROGUI_Module* theModule,
const int theOpType,
public:
HYDROGUI_ImportGeomObjectOp( HYDROGUI_Module* theModule,
const int theOpType,
- const
bool theIsToShowPanel = true
);
+ const
int theGEOMOp = -1
);
virtual ~HYDROGUI_ImportGeomObjectOp();
static QList<GEOM::shape_type> getObstacleTypes();
virtual ~HYDROGUI_ImportGeomObjectOp();
static QList<GEOM::shape_type> getObstacleTypes();
@@
-60,10
+60,20
@@
protected:
virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+protected slots:
+ void onExternalOperationFinished( const QString&, const QString&,
+ const QStringList& );
+
+private:
+ void updateDefaultName();
+ void closeExternalOperationDlg();
+
private:
QStringList myGeomObjects; ///< the list of GEOM object entries
bool myIsToShowPanel; ///< indicates if obstacle panel to be shown
int myOpType; ///< operation type (to import selected GEOM objects or the objects just created by GEOM )
private:
QStringList myGeomObjects; ///< the list of GEOM object entries
bool myIsToShowPanel; ///< indicates if obstacle panel to be shown
int myOpType; ///< operation type (to import selected GEOM objects or the objects just created by GEOM )
+ int myGEOMOp; ///< GEOM module operation to be called to create GEOM object for import
+ QString myGEOMOpName; ///< the name of the called GEOM module operation
};
#endif
\ No newline at end of file
};
#endif
\ No newline at end of file