Ignore:
Timestamp:
Mar 6, 2008, 3:18:56 PM (16 years ago)
Author:
garnier
Message:

modif de structre et passage des recording step sur un enum

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

Legend:

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

    r740 r744  
    6161  /** Destroys G4OpenGLQtMovieDialog */
    6262  ~G4OpenGLQtMovieDialog();
    63   void setStatus(QString);
     63  void setRecordingStatus(QString);
     64  void setRecordingInfos(QString);
    6465  void setEncodeButtonEnabled(bool);
    6566
     
    7273  QLabel *fTempFolderStatus;
    7374  QLabel *fSaveFileStatus;
    74   QLabel *fGlobalStatus;
     75  QLabel *fRecordingStatus;
     76  QLabel *fRecordingInfos;
    7577  QPushButton *fButtonEncode;
    7678
  • trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh

    r742 r744  
    7878  QString setSaveFileName(QString path);
    7979  QString getSaveFileName();
    80   bool getRecordFrames();
     80  enum RECORDING_STEP {WAIT=0,START,PAUSE,CONTINUE,STOP,ENCODE};
     81  RECORDING_STEP getRecordingStep();
     82  bool encodeVideo();
    8183
    8284protected:
     
    108110  void savePPMToTemp();
    109111  bool generateMpegEncoderParameters();
    110   bool fRecordFrames;
    111112  int fRecordFrameNumber;
    112113
     
    122123  QString createTempFolder();
    123124  QString removeTempFolder();
    124   bool saveVideo();
     125  void startPauseVideo();
     126  void stopVideo();
     127  void setRecordingStatus(RECORDING_STEP);
     128  void setRecordingInfos(QString);
     129
    125130
    126131#if QT_VERSION < 0x040000
     
    130135#endif
    131136  enum mouseActions {STYLE1,STYLE2,STYLE3,STYLE4};
     137
    132138  mouseActions fMouseAction; // 1: rotate 2:move 3:pick 4:shortcuts
    133139  QPoint fLastPos;
     
    168174  QAction *fDrawingLineSurfaceRemoval;
    169175  G4OpenGLQtMovieDialog* fMovieParametersDialog;
     176  RECORDING_STEP fRecordingStep;
    170177
    171178private slots :
Note: See TracChangeset for help on using the changeset viewer.