QStringnotInAbsolutePathMessage=QString("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage= tr("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage=QString("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage= tr("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage=QString("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage= tr("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
return(QMessageBox::Yes==QMessageBox::question(NULL,"Can't set Bitmap",QString((troncated+"\nInvalid size: displacement map must be 32x32 8 bits.\nContinue ?").c_str()),QMessageBox::Yes|QMessageBox::No));
return(QMessageBox::Yes==QMessageBox::question(NULL,tr("Can't set Bitmap"),QString((troncated+"\nInvalid size: displacement map must be 32x32 8 bits.\nContinue ?").c_str()),QMessageBox::Yes|QMessageBox::No));
QStringnotInAbsolutePathMessage=QString("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage= tr("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
pixelMessage=QString("%1.\nIncompatible with tile nb %4.\nPixel: %2(%3).\nContinue ?").arg(CTileSet::getErrorMessage(error)).arg(pixel).arg(comp[composante]).arg(indexError);
pixelMessage=QObject::tr("%1.\nIncompatible with tile nb %4.\nPixel: %2(%3).\nContinue ?").arg(CTileSet::getErrorMessage(error)).arg(pixel).arg(comp[composante]).arg(indexError);
else
pixelMessage=QString("%1.\nIncompatible with the 128x128 tile.\nPixel: %2(%3).\nContinue ?").arg(CTileSet::getErrorMessage(error)).arg(pixel).arg(comp[composante]);
pixelMessage=QObject::tr("%1.\nIncompatible with the 128x128 tile.\nPixel: %2(%3).\nContinue ?").arg(CTileSet::getErrorMessage(error)).arg(pixel).arg(comp[composante]);
QStringnotInAbsolutePathMessage=QString("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
QStringnotInAbsolutePathMessage=QObject::tr("The bitmap %1 is not in the absolute path %2.\nContinue ?").arg(name.c_str()).arg(tileBankBrowser.getAbsPath().c_str());
//TODO titegus: What's the point in asking for rotation if Texture != Alpha ???
boolrotate=(QMessageBox::Yes==QMessageBox::question(this,"Import rotated tiles", "Do you want to use rotation to reuse alpha tiles?",QMessageBox::Yes|QMessageBox::No));
boolrotate=(QMessageBox::Yes==QMessageBox::question(this,tr("Import rotated tiles"), tr("Do you want to use rotation to reuse alpha tiles?"),QMessageBox::Yes|QMessageBox::No));
QStringfileName=QFileDialog::getSaveFileName(this,"Export Bank",this->mainFile.absolutePath()+QDir::separator()+"*.smallbank", "NeL tile small bank files (*.smallbank);;All Files (*.*);;",&selectedFilter,options);
QStringfileName=QFileDialog::getSaveFileName(this,tr("Export Bank"),this->mainFile.absolutePath()+QDir::separator()+tr("*.smallbank"), tr("NeL tile small bank files (*.smallbank);;All Files (*.*);;"),&selectedFilter,options);