X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FHYDROGUI%2FHYDROGUI_ImportImageOp.h;h=0acdd0bc9b7aa8ab8ffb01817f67747708ca3302;hb=4e1b53167581be7e084a3d71c075507bc6699c06;hp=ade485174bfb2a39eef581023540da042ee0a346;hpb=844c6abc897469c996e8df5a1569c3aeaa08c446;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ImportImageOp.h b/src/HYDROGUI/HYDROGUI_ImportImageOp.h index ade48517..0acdd0bc 100644 --- a/src/HYDROGUI/HYDROGUI_ImportImageOp.h +++ b/src/HYDROGUI/HYDROGUI_ImportImageOp.h @@ -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;