void onCreatePreview( QImage );
void onActivatePointSelection( int );
void onPointCoordChanged( bool, int, bool, int );
+ void onModeActivated( int );
void onRefImageActivated( const QString& );
void onLastViewClosed( SUIT_ViewManager* );
void onPointSelected();
+ void onRefPointSelected();
void onPointSelected( bool theIsRefImage );
private:
void closePreview();
+ void closeView( GraphicsView_ViewManager* &aViewMgr );
private:
bool myIsEdit;
Handle(HYDROData_Image) myEditedObject;
- SUIT_ViewManager* myActiveViewManager;
+ SUIT_ViewManager* myActiveViewManager; //!< The previous view to come back to after the operation
- GraphicsView_ViewManager* myPreviewViewManager;
- HYDROGUI_PrsImage* myPreviewPrs;
- HYDROGUI_PrsImage* myRefPreviewPrs;
+ GraphicsView_ViewManager* myPreviewViewManager; //!< The operation preview window
+ GraphicsView_ViewManager* myRefViewManager; //!< The reference image view window
+ HYDROGUI_PrsImage* myPreviewPrs; //!< The loaded image preview presentation
+ HYDROGUI_PrsImage* myRefPreviewPrs; //!< The reference image presentation
- QImage myImage;
- QTransform myRefTransform;
+ QImage myImage; //!< The loaded image to import
+ QTransform myRefTransform; //!< The loaded image transformation
int myPointType;
};