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
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_SetColorOp.h
diff --git
a/src/HYDROGUI/HYDROGUI_SetColorOp.h
b/src/HYDROGUI/HYDROGUI_SetColorOp.h
index 10d02b9911320e673c2b883cdacb0627c763b696..08729bd39551bc46c1dbdee83083bf08adedfbc1 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_SetColorOp.h
+++ b/
src/HYDROGUI/HYDROGUI_SetColorOp.h
@@
-25,7
+25,7
@@
#include "HYDROGUI_Operation.h"
#include "HYDROGUI_Operation.h"
-#include <HYDROData_
Object
.h>
+#include <HYDROData_
Entity
.h>
class HYDROGUI_ColorDlg;
class HYDROGUI_ColorDlg;
@@
-37,15
+37,19
@@
public:
HYDROGUI_SetColorOp( HYDROGUI_Module* theModule );
virtual ~HYDROGUI_SetColorOp();
HYDROGUI_SetColorOp( HYDROGUI_Module* theModule );
virtual ~HYDROGUI_SetColorOp();
+
+ static bool CanObjectBeColored( const Handle(HYDROData_Entity)& theObject );
+
protected:
virtual void startOperation();
protected:
virtual void startOperation();
- virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries );
private:
HYDROGUI_ColorDlg* myColorDlg;
private:
HYDROGUI_ColorDlg* myColorDlg;
- Handle(HYDROData_
Object
) myEditedObject;
+ Handle(HYDROData_
Entity
) myEditedObject;
};
#endif
\ No newline at end of file
};
#endif
\ No newline at end of file