QMessageBox::warning(this,ProfileInterface::tr("Import"),ProfileInterface::tr("Can't import %1 because file can't be open").arg("\""+selectedFileName+"\""));
QMessageBox::warning(this,ProfileInterface::tr("Import"),ProfileInterface::tr("Can't import %1 because file can't be parsed properly").arg("\""+selectedFileName+"\""));
QMessageBox::warning(this,tr("Snapmatic Image Editor"),tr("Patching of Snapmatic Image failed because of I/O Error"));
return;
}
smpic->emitCustomSignal("PictureUpdated");
}
else
{
QMessageBox::warning(this,tr("Snapmatic Image Editor"),tr("Patching of Snapmatic Image failed because of Image Error"));
return;
}
}
close();
}
voidImageEditorDialog::on_cmdQuestion_clicked()
{
QMessageBox::information(this,tr("Snapmatic Image Editor"),tr("Every taken Snapmatic have a different Capacity, a Snapmatic with higher Capacity can store a picture with better quality."));
QMessageBox::warning(this,QApplication::translate("ProfileInterface","Import"),QApplication::translate("ProfileInterface","Can't import %1 because file can't be open").arg("\""+selectedFileName+"\""));
QMessageBox::warning(this,QApplication::translate("ProfileInterface","Import"),QApplication::translate("ProfileInterface","Can't import %1 because file can't be parsed properly").arg("\""+selectedFileName+"\""));
QStringselectedItem=inputDialog.getItem(this,tr("Export selected"),tr("%1Export Snapmatic pictures%2<br><br>JPG pictures make it possible to open the picture with a Image Viewer<br>GTA Snapmatic make it possible to import the picture into the game<br><br>Export as:").arg(ExportPreSpan,ExportPostSpan),inputDialogItems,0,false,&itemSelected,inputDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
QStringselectedItem=inputDialog.getItem(this,tr("Export selected..."),tr("%1Export Snapmatic pictures%2<br><br>JPG pictures make it possible to open the picture with a Image Viewer<br>GTA Snapmatic make it possible to import the picture into the game<br><br>Export as:").arg(ExportPreSpan,ExportPostSpan),inputDialogItems,0,false,&itemSelected,inputDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
if(itemSelected)
{
if(selectedItem==tr("JPG pictures and GTA Snapmatic"))