Changeset 749 for trunk/geant4
- Timestamp:
- Mar 7, 2008, 3:49:57 PM (17 years ago)
- Location:
- trunk/geant4/visualization/OpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r748 r749 178 178 G4OpenGLQtMovieDialog* fMovieParametersDialog; 179 179 RECORDING_STEP fRecordingStep; 180 QProcess *fProcess; 180 181 181 182 private slots : -
trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r748 r749 2644 2644 } 2645 2645 2646 boolG4OpenGLQtViewer::encodeVideo()2646 void G4OpenGLQtViewer::encodeVideo() 2647 2647 { 2648 2648 if ((getEncoderPath() != "") && (getSaveFileName() != "")) { 2649 QProcess::execute (fEncoderPath, QStringList(fMovieTempFolderPath+fParameterFileName)); 2649 fProcess = new QProcess(); 2650 fProcess->execute (fEncoderPath, QStringList(fMovieTempFolderPath+fParameterFileName)); 2651 QObject ::connect(fProcess, 2652 SIGNAL(finished ( int exitCode, QProcess::ExitStatus exitStatus )), 2653 this, 2654 SLOT(processFinished( int exitCode, QProcess::ExitStatus exitStatus )); 2655 } 2656 } 2650 2657 2651 2658 setRecordingStatus(WAIT); 2652 2659 setRecordingInfos(removeTempFolder()); 2653 } else {2654 return false;2655 }2656 return true;2657 }2658 2660 2659 2661 /*
Note: See TracChangeset
for help on using the changeset viewer.