Changeset 857 for trunk/source/visualization/OpenGL/include
- Timestamp:
- Oct 1, 2008, 5:12:18 PM (16 years ago)
- Location:
- trunk/source/visualization/OpenGL/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/include/G4OpenGLQtMovieDialog.hh
r754 r857 74 74 QLabel *fRecordingStatus; 75 75 QLabel *fRecordingInfos; 76 QPushButton *fButtonEncode; 77 QPushButton *fButtonApply; 78 79 bool checkEncoderParameters(QString); 80 bool checkTempFolderParameters(QString); 81 bool checkSaveFileNameParameters(QString); 76 QPushButton *fButtonStopFinishClose; 77 QPushButton *fButtonSave; 78 QPushButton *fButtonStartPause; 82 79 83 80 public slots : 84 81 void checkAllParameters(); 82 void stopFinishClose(); 83 void save(); 84 bool checkEncoderSwParameters(); 85 bool checkSaveFileNameParameters(); 86 bool checkTempFolderParameters(); 85 87 86 88 private slots : … … 88 90 void selectTempPathAction(); 89 91 void selectSaveFileNameAction(); 90 void encode();91 92 void resetRecording(); 92 93 void enabledApplyButton(); -
trunk/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r850 r857 83 83 bool isRecording(); 84 84 bool isStopped(); 85 bool isPaused(); 86 bool isEncoding(); 87 bool isWaiting(); 88 bool isFailed(); 89 void setWaiting(); 90 bool isBadEncoder(); 91 bool isBadOutput(); 92 bool isBadTmp(); 93 bool isSuccess(); 94 void setBadTmp(); 95 void setBadOutput(); 96 void setBadEncoder(); 85 97 bool isReadyToEncode(); 86 98 void resetRecording(); 87 99 void encodeVideo(); 100 void stopVideo(); 101 void saveVideo(); 88 102 bool generateMpegEncoderParameters(); 89 103 void displayRecordingStatus(); … … 129 143 private: 130 144 enum mouseActions {STYLE1,STYLE2,STYLE3,STYLE4}; 131 enum RECORDING_STEP {WAIT,START,PAUSE,CONTINUE,STOP,READY_TO_ENCODE,ENCODING,FAILED,SUCCESS };145 enum RECORDING_STEP {WAIT,START,PAUSE,CONTINUE,STOP,READY_TO_ENCODE,ENCODING,FAILED,SUCCESS,BAD_ENCODER,BAD_OUTPUT,BAD_TMP,SAVE}; 132 146 133 147 void createPopupMenu(); … … 141 155 QString createTempFolder(); 142 156 QString removeTempFolder(); 143 void startPauseVideo();144 void stopVideo();145 157 void setRecordingStatus(RECORDING_STEP); 146 158 void setRecordingInfos(QString); … … 203 215 void moveZ(int); 204 216 217 public slots : 218 void startPauseVideo(); 219 205 220 private slots : 206 221 void actionMouseRotate();
Note: See TracChangeset
for help on using the changeset viewer.