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_Prs.h
diff --git
a/src/HYDROGUI/HYDROGUI_Prs.h
b/src/HYDROGUI/HYDROGUI_Prs.h
index 8c39308d17b24292e1aa23935ae8b4d4b72a545f..871e30faf7078dd570ec0808f16d47dc2c85336b 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Prs.h
+++ b/
src/HYDROGUI/HYDROGUI_Prs.h
@@
-23,7
+23,7
@@
#ifndef HYDROGUI_PRS_H
#define HYDROGUI_PRS_H
#ifndef HYDROGUI_PRS_H
#define HYDROGUI_PRS_H
-#include <HYDROData_
Object
.h>
+#include <HYDROData_
Entity
.h>
#include <GraphicsView_Object.h>
#include <GraphicsView_Object.h>
@@
-34,18
+34,28
@@
class HYDROGUI_Prs : public GraphicsView_Object
{
public:
class HYDROGUI_Prs : public GraphicsView_Object
{
public:
- HYDROGUI_Prs( const Handle(HYDROData_
Object
)& theObject );
+ HYDROGUI_Prs( const Handle(HYDROData_
Entity
)& theObject );
virtual ~HYDROGUI_Prs();
public:
virtual ~HYDROGUI_Prs();
public:
- Handle(HYDROData_
Object
) getObject() const { return myObject; }
+ Handle(HYDROData_
Entity
) getObject() const { return myObject; }
bool getIsToUpdate() const { return myIsToUpdate; }
void setIsToUpdate( bool theState ) { myIsToUpdate = theState; }
bool getIsToUpdate() const { return myIsToUpdate; }
void setIsToUpdate( bool theState ) { myIsToUpdate = theState; }
+public:
+ // from GraphicsView_Object
+ virtual void addTo( GraphicsView_ViewPort* theViewPort );
+
+protected:
+ QCursor* getHighlightCursor() const { return myHighlightCursor; }
+
private:
private:
- Handle(HYDROData_
Object
) myObject;
+ Handle(HYDROData_
Entity
) myObject;
bool myIsToUpdate;
bool myIsToUpdate;
+
+private:
+ QCursor* myHighlightCursor;
};
#endif
};
#endif