- Timestamp:
- Dec 5, 2007, 7:02:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc
r638 r639 51 51 QWidget* parent 52 52 ,QString nomFich 53 ,QString format 53 54 ,int aHeight 54 55 ,int aWidth … … 75 76 76 77 77 if ( nomFich.endsWith(".jpg") ||78 nomFich.endsWith(".jpeg")) {78 if ((format == "jpg") || 79 (format == "jpeg")) { 79 80 80 81 QGroupBox *imageGroupBox = new QGroupBox(tr("Image quality"),this); … … 114 115 // This is not working for PS and PDF images, it does nothing. 115 116 // Image is staying in color mode 116 // if (( nomFich.endsWith(".ps")) || (nomFich.endsWith(".pdf")) || (nomFich.endsWith(".eps"))) {117 if ((nomFich.endsWith(".eps"))) { 118 117 // if ((format == "ps") || (format == "pdf") || (format == "eps")) { 118 119 if (format == ".eps") { 119 120 120 121 QWidget * EPSWidgetGroupBox; // widget containing group button … … 157 158 // Not implented. Should deal with alpha channel 158 159 159 // if( nomFich.endsWith(".tif") ||160 // nomFich.endsWith(".tiff") ||161 // nomFich.endsWith(".jpg") ||162 // nomFich.endsWith(".jpeg") ||163 // nomFich.endsWith(".png") ||164 // nomFich.endsWith(".xpm")) {160 // if((format == "tif") || 161 // (format == "tiff") || 162 // (format == "jpg") || 163 // (format == "jpeg") || 164 // (format == "png") || 165 // (format == "xpm")) { 165 166 166 167 // QGroupBox *transparencyGroupBox = new QGroupBox(tr("Transparency"),this); … … 186 187 QButtonGroup * sizeButtonGroupBox; // group button 187 188 QLayout *sizeGroupBoxLayout; 189 188 190 #if QT_VERSION < 0x040000 189 191 sizeButtonGroupBox = new QButtonGroup ( 2,Qt::Vertical, tr("Size"),this);
Note: See TracChangeset
for help on using the changeset viewer.