Changeset 863 for trunk/source/visualization/OpenGL
- Timestamp:
- Oct 7, 2008, 5:35:57 AM (16 years ago)
- Location:
- trunk/source/visualization/OpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/include/G4OpenGLQtMovieDialog.hh
r857 r863 25 25 // 26 26 // 27 // $Id: G4OpenGLQtMovieDialog.hh,v 1. 1 2008/03/10 16:57:04 lgarnier Exp $27 // $Id: G4OpenGLQtMovieDialog.hh,v 1.3 2008/10/07 01:03:04 lgarnier Exp $ 28 28 // GEANT4 tag $Name: 29 29 // -
trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r858 r863 1531 1531 fLastPos3 = fLastPos2; 1532 1532 fLastEventTime->start(); 1533 if (fMouseAction == STYLE 2){ // pick1533 if (fMouseAction == STYLE3){ // pick 1534 1534 Pick(p.x(),p.y()); 1535 1535 } -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc
r858 r863 51 51 G4OpenGLStoredViewer (sceneHandler) // FIXME : gerer le pb du parent ! 52 52 { 53 #if QT_VERSION < 0x04000054 setFocusPolicy(QWidget::StrongFocus); // enable keybord events55 #else56 setFocusPolicy(Qt::StrongFocus); // enable keybord events57 #endif58 nbPaint =0;59 hasToRepaint =false;60 61 53 // if no scene... 62 54 if (fSceneHandler.GetScene() == 0) { … … 65 57 return; 66 58 } 59 60 //set true to picking 61 fVP.SetPicking(true); 62 #if QT_VERSION < 0x040000 63 setFocusPolicy(QWidget::StrongFocus); // enable keybord events 64 #else 65 setFocusPolicy(Qt::StrongFocus); // enable keybord events 66 #endif 67 nbPaint =0; 68 hasToRepaint =false; 69 67 70 if (fViewId < 0) return; // In case error in base class instantiation. 68 71 }
Note: See TracChangeset
for help on using the changeset viewer.