Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportImageOp.h
index e14249d55265e67247bdbb5790bc04b3582a04a1..7a2c399c24e0179874322fac41fd5249fd45057e 100644 (file)
@@ -49,9 +49,13 @@ protected:
 
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
-  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
+  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg,
+                                           QStringList& theBrowseObjectsEntries );
+  bool                       isReferenceCorrect() const;
 
 protected slots:
+  virtual void               onApply();
+
   void                       onCreatePreview( QImage );
   void                       onActivatePointSelection( int );
   void                       onPointCoordChanged( bool, int, bool, int );
@@ -100,6 +104,12 @@ private:
                                                         const QPoint theLocalPointB, 
                                                         const QPoint theLocalPointC );
 
+  /*
+   * Initialize the combobox in the dialog with the list of available reference images
+   */
+  void                       getReferenceDataList(
+                                 HYDROGUI_ImportImageDlg::PrsPointDataList& theList ) const;
+
 private:
   bool                       myIsEdit;
   Handle(HYDROData_Image)    myEditedObject;