Ignore:
Timestamp:
Dec 5, 2007, 3:47:18 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

    r637 r638  
    117117  if ((nomFich.endsWith(".eps"))) {
    118118
    119     //    transparencyEPS = new QCheckBox( "transparencyEPS" );
    120     //    transparencyEPS->setText( "save background" );
    121     //    transparencyEPS->setChecked( true );
    122119
    123120    QWidget * EPSWidgetGroupBox; // widget containing group button
     
    153150    colorButton->setChecked( true );
    154151
    155     //    EPSGroupBoxLayout->addWidget(transparencyEPS);   
    156152    globalVLayout->addWidget(EPSWidgetGroupBox);
    157153
    158154  }
    159155
    160   if(nomFich.endsWith(".tif") ||
    161      nomFich.endsWith(".tiff") ||
    162      nomFich.endsWith(".jpg") ||
    163      nomFich.endsWith(".jpeg") ||
    164      nomFich.endsWith(".png") ||
    165      nomFich.endsWith(".xpm")) {
    166 
    167     QGroupBox *transparencyGroupBox = new QGroupBox(tr("Transparency"),this);
    168     QVBoxLayout *transparencyGroupBoxLayout = new QVBoxLayout(transparencyGroupBox);
    169 
    170     boxTransparency = new QCheckBox("Save transparency",transparencyGroupBox);
    171     boxTransparency->setChecked( false );
    172     //    boxTransparency->setEnabled(false);
    173 
    174     transparencyGroupBoxLayout->addWidget(boxTransparency);   
    175 #if QT_VERSION >= 0x040000
    176     transparencyGroupBox->setLayout(transparencyGroupBoxLayout);
    177 #endif
    178     globalVLayout->addWidget(transparencyGroupBox);
    179 
    180   }
     156  // FIXME : L. Garnier 4/12/07
     157  // Not implented. Should deal with alpha channel
     158
     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")) {
     165
     166//     QGroupBox *transparencyGroupBox = new QGroupBox(tr("Transparency"),this);
     167//     QVBoxLayout *transparencyGroupBoxLayout = new QVBoxLayout(transparencyGroupBox);
     168
     169//     boxTransparency = new QCheckBox("Save transparency",transparencyGroupBox);
     170//     boxTransparency->setChecked( false );
     171
     172//     transparencyGroupBoxLayout->addWidget(boxTransparency);   
     173// #if QT_VERSION >= 0x040000
     174//     transparencyGroupBox->setLayout(transparencyGroupBoxLayout);
     175// #endif
     176//     globalVLayout->addWidget(transparencyGroupBox);
     177
     178//   }
    181179
    182180  // size box
Note: See TracChangeset for help on using the changeset viewer.