Salome HOME
Minor changes.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ImportImageOp.h
index ade485174bfb2a39eef581023540da042ee0a346..0acdd0bc9b7aa8ab8ffb01817f67747708ca3302 100644 (file)
@@ -50,14 +50,17 @@ protected:
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
   virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
+  bool                       isReferenceCorrect() const;
 
 protected slots:
+  virtual void               onApply();
+
   void                       onCreatePreview( QImage );
   void                       onActivatePointSelection( int );
   void                       onPointCoordChanged( bool, int, bool, int );
   void                       onModeActivated( int );
   void                       onRefImageActivated( const QString& );
-  void                       onSetIsByTwoPoints( bool theIsSetByTwoPoints );
+  void                       onSetCIsUsed( bool theCIsUsed );
 
   void                       onLastViewClosed( SUIT_ViewManager* );
 
@@ -100,6 +103,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;