- Timestamp:
- Dec 5, 2007, 3:47:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc
r637 r638 117 117 if ((nomFich.endsWith(".eps"))) { 118 118 119 // transparencyEPS = new QCheckBox( "transparencyEPS" );120 // transparencyEPS->setText( "save background" );121 // transparencyEPS->setChecked( true );122 119 123 120 QWidget * EPSWidgetGroupBox; // widget containing group button … … 153 150 colorButton->setChecked( true ); 154 151 155 // EPSGroupBoxLayout->addWidget(transparencyEPS);156 152 globalVLayout->addWidget(EPSWidgetGroupBox); 157 153 158 154 } 159 155 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 // } 181 179 182 180 // size box
Note: See TracChangeset
for help on using the changeset viewer.