Ignore:
Timestamp:
Nov 15, 2007, 11:55:33 AM (17 years ago)
Author:
garnier
Message:

r641@mac-90108: laurentgarnier | 2007-11-12 18:21:36 +0100
modif pour qt3

Location:
trunk/geant4/visualization/OpenGL/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLImmediateQtViewer.hh

    r595 r600  
    2525//
    2626//
    27 // $Id: G4OpenGLImmediateQtViewer.hh,v 1.2 2007/11/08 17:00:51 lgarnier Exp $
     27// $Id: G4OpenGLImmediateQtViewer.hh,v 1.3 2007/11/09 15:03:21 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLQtExportDialog.hh

    r595 r600  
    2525//
    2626//
    27 // $Id: G4OpenGLQtExportDialog.hh,v 1.2 2007/11/08 17:00:51 lgarnier Exp $
     27// $Id: G4OpenGLQtExportDialog.hh,v 1.3 2007/11/09 15:03:21 lgarnier Exp $
    2828// GEANT4 tag $Name:
    2929//
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh

    r595 r600  
    2525//
    2626//
    27 // $Id: G4OpenGLQtViewer.hh,v 1.2 2007/11/08 17:00:51 lgarnier Exp $
     27// $Id: G4OpenGLQtViewer.hh,v 1.3 2007/11/09 15:03:21 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    4848class QDialog;
    4949class QContextMenuEvent;
     50#if QT_VERSION < 0x040000
     51class QPopupMenu;
     52#else
    5053class QMenu;
     54#endif
    5155class QImage;
    5256class QAction;
     
    7074  void manageContextMenuEvent(QContextMenuEvent *e);
    7175  void G4MousePressEvent(QPoint);
     76#if QT_VERSION < 0x040000
     77  void G4MouseMoveEvent(int, int, Qt::ButtonState);
     78#else
    7279  void G4MouseMoveEvent(int, int, Qt::MouseButtons);
     80#endif
     81
    7382
    7483protected:
     
    8594  bool generatePS_PDF(QString,int,QImage); 
    8695
     96#if QT_VERSION < 0x040000
     97  QPopupMenu *fContextMenu;
     98#else
    8799  QMenu *fContextMenu;
     100#endif
    88101  bool fMouseAction; // 1: rotate 0:move
    89102  QPoint lastPos;
     103#if QT_VERSION < 0x040000
     104  QPopupMenu *fDrawingWireframe;
     105  QPopupMenu *fDrawingLineRemoval;
     106  QPopupMenu *fDrawingSurfaceRemoval;
     107  QPopupMenu *fDrawingLineSurfaceRemoval;
     108#else
    90109  QAction *fDrawingWireframe;
    91110  QAction *fDrawingLineRemoval;
    92111  QAction *fDrawingSurfaceRemoval;
    93112  QAction *fDrawingLineSurfaceRemoval;
     113#endif
    94114
    95115private slots :
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLStoredQtViewer.hh

    r595 r600  
    2525//
    2626//
    27 // $Id: G4OpenGLStoredQtViewer.hh,v 1.2 2007/11/08 17:00:51 lgarnier Exp $
     27// $Id: G4OpenGLStoredQtViewer.hh,v 1.3 2007/11/09 15:03:21 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
Note: See TracChangeset for help on using the changeset viewer.