HYDROGUI_ImportImageDlg( HYDROGUI_Module* theModule, const QString& theTitle );
virtual ~HYDROGUI_ImportImageDlg();
+ void setIsEdit( const bool theIsEdit );
void reset();
- void setTransformationDataMap( const TransformationDataMap& theMap );
+ void setImageName( const QString& theName );
+ QString getImageName() const;
+
+ void setTransformationDataMap( const TransformationDataMap& theMap,
+ const bool theIsOnlyInput = false );
bool getTransformationDataMap( TransformationDataMap& theMap ) const;
void initializePointSelection();
- void synchronizeTransformedPoints();
protected slots:
void onBrowse();
void onPointBtnToggled( bool );
signals:
- void createPreview( QString );
+ void createPreview( QImage );
void activatePointSelection( int );
private:
+ QGroupBox* myFileNameGroup;
QLineEdit* myFileName;
+ QGroupBox* myImageNameGroup;
+ QLineEdit* myImageName;
+
QGroupBox* myMappingGroup;
QMap<int, QPushButton*> myPointBtnMap;
- QMap<int, QLineEdit*> myPointX1Map;
- QMap<int, QLineEdit*> myPointY1Map;
- QMap<int, QLineEdit*> myPointX2Map;
- QMap<int, QLineEdit*> myPointY2Map;
+ QMap<int, QLineEdit*> myPointXMap;
+ QMap<int, QLineEdit*> myPointYMap;
+ QMap<int, QLineEdit*> myPointXDegMap;
+ QMap<int, QLineEdit*> myPointYDegMap;
+ QMap<int, QLineEdit*> myPointXMinMap;
+ QMap<int, QLineEdit*> myPointYMinMap;
+ QMap<int, QLineEdit*> myPointXSecMap;
+ QMap<int, QLineEdit*> myPointYSecMap;
};
#endif