slot for saving an image as another name Definition at line 219 of file aimainwindow.cpp. 00220 { 00221 try 00222 { 00223 //~ save image as another name 00224 m_saveFile = QFileDialog::getSaveFileName(this, tr("Save Image"), "", tr("Image File (*.png)")) ; 00225 m_view->view()->saveAs( m_saveFile ); 00226 } 00227 catch(const std::exception & exception ) 00228 { 00229 QMessageBox::critical(this, tr("Critical Error!"), tr("Please report this problem to adrabi[at]gmail[dot]com =).")); 00230 } 00231 } |