Changeset 606 for trunk/geant4/visualization/OpenGL/src
- Timestamp:
- Nov 15, 2007, 11:56:03 AM (18 years ago)
- Location:
- trunk/geant4/visualization/OpenGL/src
- Files:
-
- 4 edited
-
G4OpenGLImmediateQtViewer.cc (modified) (1 diff)
-
G4OpenGLQtExportDialog.cc (modified) (1 diff)
-
G4OpenGLQtViewer.cc (modified) (2 diffs)
-
G4OpenGLStoredQtViewer.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc
r599 r606 25 25 // 26 26 // 27 // $Id: G4OpenGLImmediateQtViewer.cc,v 1. 1 2007/09/28 14:44:13lgarnier Exp $27 // $Id: G4OpenGLImmediateQtViewer.cc,v 1.2 2007/11/13 17:48:51 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtExportDialog.cc
r599 r606 25 25 // 26 26 // 27 // $Id: G4OpenGLQtExportDialog.cc,v 1. 3 2007/11/09 15:03:21 lgarnier Exp $27 // $Id: G4OpenGLQtExportDialog.cc,v 1.4 2007/11/13 17:48:51 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r602 r606 25 25 // 26 26 // 27 // $Id: G4OpenGLQtViewer.cc,v 1. 4 2007/11/09 15:03:22lgarnier Exp $27 // $Id: G4OpenGLQtViewer.cc,v 1.6 2007/11/14 11:49:00 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 1344 1344 1345 1345 if (aFilename.endsWith(".ps")) { 1346 #if QT_VERSION > 0x040200 1346 1347 printer.setOutputFormat(QPrinter::PostScriptFormat); 1347 } else { 1348 #endif 1349 } else { 1350 #if QT_VERSION > 0x040100 1348 1351 printer.setOutputFormat(QPrinter::PdfFormat); 1349 } 1352 #endif 1353 } 1354 #if QT_VERSION > 0x040100 1350 1355 printer.setOutputFileName(aFilename); 1356 #endif 1351 1357 // printer.setFullPage ( true); 1352 1358 QPainter paint(&printer); -
trunk/geant4/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc
r601 r606 25 25 // 26 26 // 27 // $Id: G4OpenGLStoredQtViewer.cc,v 1. 3 2007/11/09 15:03:22lgarnier Exp $27 // $Id: G4OpenGLStoredQtViewer.cc,v 1.5 2007/11/14 18:58:59 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 256 256 void G4OpenGLStoredQtViewer::mouseMoveEvent(QMouseEvent *event) 257 257 { 258 printf("G4OpenGLStoredQtViewer::mouseMoveEvent\n"); 259 #if QT_VERSION < 0x040000 258 260 G4MouseMoveEvent(event->x(),event->y(),event->button()); 261 #else 262 G4MouseMoveEvent(event->x(),event->y(),event->buttons()); 263 #endif 259 264 // DrawView(); 260 265 }
Note:
See TracChangeset
for help on using the changeset viewer.
