Salome HOME
Image positioning by two points.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PrsImage.h
index 3f78316c95a2883545b2e627648f92682e38eccd..c5d57981ad8c57084b82adb4f98e829d99d06b15 100644 (file)
@@ -46,13 +46,16 @@ public:
   typedef QMapIterator< int, TransformationPoint > TransformationPointMapIterator;
 
 public:
-  HYDROGUI_PrsImage( const Handle(HYDROData_Object)& theObject );
+  HYDROGUI_PrsImage( const Handle(HYDROData_Entity)& theObject );
   virtual ~HYDROGUI_PrsImage();
 
 public:
   void                            setImage( const QImage& theImage );
   QImage                          getImage() const;
 
+  void                            setCaption( const QString& theCaption );
+  QString                         getCaption() const;
+
   void                            setIsTransformationPointPreview( const bool theState );
   bool                            getIsTransformationPointPreview() const;
 
@@ -93,6 +96,7 @@ protected:
   QImage                          myImage;
 
   QGraphicsPixmapItem*            myPixmapItem;
+  QGraphicsSimpleTextItem*        myCaptionItem;
   HYDROGUI_PrsImageFrame*         myPrsImageFrame;
 
   bool                            myIsTransformationPointPreview;