diff --git a/frontend_qt4/exportwindow.cpp b/frontend_qt4/exportwindow.cpp index c9c218fb..a3055c64 100644 --- a/frontend_qt4/exportwindow.cpp +++ b/frontend_qt4/exportwindow.cpp @@ -78,6 +78,8 @@ void ExportWindow::process() case 2: suffix = ".svg"; break; case 3: suffix = ".bmp"; break; case 4: suffix = ".pcx"; break; + case 5: suffix = ".emf"; break; + case 6: suffix = ".tif"; break; #else case 0: suffix = ".png"; break; case 1: suffix = ".eps"; break; @@ -85,6 +87,8 @@ void ExportWindow::process() case 3: suffix = ".svg"; break; case 4: suffix = ".bmp"; break; case 5: suffix = ".pcx"; break; + case 6: suffix = ".emf"; break; + case 7: suffix = ".tif"; break; #endif } diff --git a/frontend_qt4/extExport.ui b/frontend_qt4/extExport.ui index d28a2ecb..29579192 100644 --- a/frontend_qt4/extExport.ui +++ b/frontend_qt4/extExport.ui @@ -95,6 +95,16 @@ ZSoft PC Painter Image (*.pcx) + + + Extended Metafile (*.emf) + + + + + Tagged Image File Format (*.tif) + + diff --git a/frontend_qt4/mainwindow.cpp b/frontend_qt4/mainwindow.cpp index ed71a5ff..95d6c521 100644 --- a/frontend_qt4/mainwindow.cpp +++ b/frontend_qt4/mainwindow.cpp @@ -152,11 +152,11 @@ bool MainWindow::save() #ifdef NO_PNG QString fileName = QFileDialog::getSaveFileName(this, tr("Save Barcode Image"), ".", - tr("Encapsulated Post Script (*.eps);;Scalable Vector Graphic (*.svg)")); + tr("Encapsulated Post Script (*.eps);;Graphics Interchange Format (*.gif);;Scalable Vector Graphic (*.svg);;Windows Bitmap (*.bmp);;ZSoft PC Painter Image (*.pcx);;Extended Metafile (*.emf);;Tagged Image File Format (*.tif)")); #else QString fileName = QFileDialog::getSaveFileName(this, tr("Save Barcode Image"), ".", - tr("Portable Network Graphic (*.png);;Encapsulated Post Script (*.eps);;Graphics Interchange Format (*.gif);;Scalable Vector Graphic (*.svg);;Windows Bitmap (*.bmp);;ZSoft PC Painter Image (*.pcx)")); + tr("Portable Network Graphic (*.png);;Encapsulated Post Script (*.eps);;Graphics Interchange Format (*.gif);;Scalable Vector Graphic (*.svg);;Windows Bitmap (*.bmp);;ZSoft PC Painter Image (*.pcx);;Extended Metafile (*.emf);;Tagged Image File Format (*.tif)")); #endif if (fileName.isEmpty())