Salome HOME
refs #640: correct width for non-georeferenced profile
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportImageOp.h
index 6ab54d217b1827d91f9eb68ac7bda3c56ec68945..e6b68ce85138609f7883d2f2108c25fc548af757 100644 (file)
@@ -49,9 +49,12 @@ protected:
                                            QStringList& theBrowseObjectsEntries );
   bool                       isReferenceCorrect() const;
 
-protected slots:
-  virtual void               onApply();
+  /**
+   * Apply changes done by this operation.
+   */
+  virtual void               apply();
 
+protected slots:
   void                       onCreatePreview( QImage );
   void                       onActivatePointSelection( int );
   void                       onPointCoordChanged( bool, int, bool, int );
@@ -64,6 +67,7 @@ protected slots:
   void                       onPointSelected();
   void                       onRefPointSelected();
   void                       onPointSelected( bool theIsRefImage );
+  void                       onFilesSelected( const QStringList& );
 
 private:
   void                       closePreview();
@@ -106,6 +110,8 @@ private:
   void                       getReferenceDataList(
                                  HYDROGUI_ImportImageDlg::PrsPointDataList& theList ) const;
 
+  bool SetNextFile();
+
 private:
   bool                       myIsEdit;
   Handle(HYDROData_Image)    myEditedObject;
@@ -120,6 +126,8 @@ private:
   QImage                     myImage;              //!< The loaded image to import
 
   int                        myPointType;
+  QStringList                myFiles;
+  int                        myFileIndex;
 };
 
 #endif