Ignore:
Timestamp:
Dec 5, 2007, 2:41:42 PM (17 years ago)
Author:
garnier
Message:

amelioration du ticket #66

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc

    r636 r637  
    111111  }
    112112 
    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"))) {
    114118
    115119    //    transparencyEPS = new QCheckBox( "transparencyEPS" );
     
    361365int G4OpenGLQtExportDialog::getNbColor()
    362366{
     367  if (!colorButton) return -1;
    363368  // Black and white
    364369  if (!colorButton->isChecked())
     
    371376void G4OpenGLQtExportDialog::changeSizeBox()
    372377{
     378  if (!original) return;
     379  if (!heightWidget) return;
     380  if (!widthWidget) return;
     381  if (!ratioCheckBox) return;
     382
    373383  if ( original->isChecked()) {
    374384    heightWidget->hide();
     
    386396 )
    387397{
     398  if (!ratioCheckBox) return;
     399  if (!width) return;
     400
    388401  if (ratioCheckBox->isChecked()){
    389402    QString tmp;
     
    396409)
    397410{
     411  if (!ratioCheckBox) return;
     412  if (!width) return;
     413
    398414  if (ratioCheckBox->isChecked()){
    399415    QString tmp;
Note: See TracChangeset for help on using the changeset viewer.