return myImageName->text();
}
+QString HYDROGUI_ImportImageDlg::getFileName() const
+{
+ return myFileName->text();
+}
+
void HYDROGUI_ImportImageDlg::setImageSize( const QSize& theSize,
const bool theIsRefImage )
{
void setImageName( const QString& theName );
QString getImageName() const;
+ QString getFileName() const;
+
void setImageSize( const QSize& theSize,
const bool theIsRefImage = false );
anImageObj->SetTrsfPoints( aPointA1, aPointB1, aPointC1,
aPointA2, aPointB2, aPointC2 );
+ if( !myIsEdit )
+ {
+ // Set imported file name for image
+ QString aFilePath = aPanel->getFileName();
+ anImageObj->SetFilePath( aFilePath );
+ }
+
// must be done after all checks and before calling SetVisible() method below
closePreview();