- Timestamp:
- Dec 5, 2007, 2:41:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc
r636 r637 111 111 } 112 112 113 if ((nomFich.endsWith(".ps")) || (nomFich.endsWith(".pdf")) || (nomFich.endsWith(".eps"))) { 113 // FIXME : L. Garnier 4/12/07 114 // This is not working for PS and PDF images, it does nothing. 115 // Image is staying in color mode 116 // if ((nomFich.endsWith(".ps")) || (nomFich.endsWith(".pdf")) || (nomFich.endsWith(".eps"))) { 117 if ((nomFich.endsWith(".eps"))) { 114 118 115 119 // transparencyEPS = new QCheckBox( "transparencyEPS" ); … … 361 365 int G4OpenGLQtExportDialog::getNbColor() 362 366 { 367 if (!colorButton) return -1; 363 368 // Black and white 364 369 if (!colorButton->isChecked()) … … 371 376 void G4OpenGLQtExportDialog::changeSizeBox() 372 377 { 378 if (!original) return; 379 if (!heightWidget) return; 380 if (!widthWidget) return; 381 if (!ratioCheckBox) return; 382 373 383 if ( original->isChecked()) { 374 384 heightWidget->hide(); … … 386 396 ) 387 397 { 398 if (!ratioCheckBox) return; 399 if (!width) return; 400 388 401 if (ratioCheckBox->isChecked()){ 389 402 QString tmp; … … 396 409 ) 397 410 { 411 if (!ratioCheckBox) return; 412 if (!width) return; 413 398 414 if (ratioCheckBox->isChecked()){ 399 415 QString tmp;
Note: See TracChangeset
for help on using the changeset viewer.