Geant4-11
|
#include <G4OpenGLQtMovieDialog.hh>
Public Slots | |
bool | checkEncoderSwParameters () |
bool | checkSaveFileNameParameters () |
bool | checkTempFolderParameters () |
void | save () |
void | stopFinishClose () |
Public Member Functions | |
G4OpenGLQtMovieDialog (G4OpenGLQtViewer *, QWidget *) | |
void | setRecordingInfos (QString) |
void | setRecordingStatus (QString) |
~G4OpenGLQtMovieDialog () | |
Private Slots | |
void | enabledApplyButton () |
void | resetRecording () |
void | selectEncoderPathAction () |
void | selectSaveFileNameAction () |
void | selectTempPathAction () |
Private Attributes | |
QPushButton * | fButtonSave |
QPushButton * | fButtonStartPause |
QPushButton * | fButtonStopFinishClose |
QLineEdit * | fEncoderPath |
QLabel * | fEncoderStatus |
G4OpenGLQtViewer * | fParentViewer |
QLabel * | fRecordingInfos |
QLabel * | fRecordingStatus |
QLineEdit * | fSaveFileName |
QLabel * | fSaveFileStatus |
QLineEdit * | fTempFolderPath |
QLabel * | fTempFolderStatus |
The G4OpenGLQtMovieDialog class provide a Dialog displaying differents options for each file format
Definition at line 45 of file G4OpenGLQtMovieDialog.hh.
G4OpenGLQtMovieDialog::G4OpenGLQtMovieDialog | ( | G4OpenGLQtViewer * | parentViewer, |
QWidget * | parentw | ||
) |
Construct a G4OpenGLQtMovieDialog
parent | : parent widget |
Definition at line 64 of file G4OpenGLQtMovieDialog.cc.
References checkEncoderSwParameters(), checkSaveFileNameParameters(), checkTempFolderParameters(), g4zmq::connect(), fButtonSave, fButtonStartPause, fButtonStopFinishClose, fEncoderPath, fEncoderStatus, fParentViewer, fRecordingInfos, fRecordingStatus, fSaveFileName, fSaveFileStatus, fTempFolderPath, fTempFolderStatus, G4OpenGLQtViewer::getEncoderPath(), G4OpenGLQtViewer::getTempFolderPath(), resetRecording(), save(), selectEncoderPathAction(), selectSaveFileNameAction(), selectTempPathAction(), setRecordingInfos(), setRecordingStatus(), stopFinishClose(), and TRUE.
G4OpenGLQtMovieDialog::~G4OpenGLQtMovieDialog | ( | ) |
|
slot |
If one of parameter is incorrect, put it in red and don't valid it If valid, save it
Definition at line 318 of file G4OpenGLQtMovieDialog.cc.
References fEncoderPath, fEncoderStatus, fParentViewer, G4OpenGLQtViewer::getEncoderPath(), G4OpenGLQtViewer::isReadyToEncode(), G4OpenGLQtViewer::setEncoderPath(), and setRecordingInfos().
Referenced by G4OpenGLQtMovieDialog(), G4OpenGLQtViewer::saveVideo(), selectEncoderPathAction(), G4OpenGLQtViewer::showMovieParametersDialog(), and G4OpenGLQtViewer::stopVideo().
|
slot |
If one of parameter is incorrect, put it in red and don't valid it If valid, save it
Definition at line 368 of file G4OpenGLQtMovieDialog.cc.
References fParentViewer, fSaveFileName, fSaveFileStatus, G4OpenGLQtViewer::getSaveFileName(), and G4OpenGLQtViewer::setSaveFileName().
Referenced by G4OpenGLQtMovieDialog(), G4OpenGLQtViewer::saveVideo(), selectSaveFileNameAction(), G4OpenGLQtViewer::showMovieParametersDialog(), and G4OpenGLQtViewer::stopVideo().
|
slot |
If one of parameter is incorrect, put it in red and don't valid it If valid, save it
Definition at line 345 of file G4OpenGLQtMovieDialog.cc.
References fParentViewer, fTempFolderPath, fTempFolderStatus, G4OpenGLQtViewer::getTempFolderPath(), and G4OpenGLQtViewer::setTempFolderPath().
Referenced by G4OpenGLQtMovieDialog(), selectTempPathAction(), and G4OpenGLQtViewer::showMovieParametersDialog().
|
privateslot |
Definition at line 464 of file G4OpenGLQtMovieDialog.cc.
References fButtonStartPause.
|
privateslot |
Definition at line 387 of file G4OpenGLQtMovieDialog.cc.
References fParentViewer, and G4OpenGLQtViewer::resetRecording().
Referenced by G4OpenGLQtMovieDialog().
|
slot |
Definition at line 308 of file G4OpenGLQtMovieDialog.cc.
References fParentViewer, G4OpenGLQtViewer::isPaused(), G4OpenGLQtViewer::isRecording(), G4OpenGLQtViewer::isStopped(), and G4OpenGLQtViewer::saveVideo().
Referenced by G4OpenGLQtMovieDialog().
|
privateslot |
Definition at line 261 of file G4OpenGLQtMovieDialog.cc.
References checkEncoderSwParameters(), and fEncoderPath.
Referenced by G4OpenGLQtMovieDialog().
|
privateslot |
Definition at line 290 of file G4OpenGLQtMovieDialog.cc.
References checkSaveFileNameParameters(), and fSaveFileName.
Referenced by G4OpenGLQtMovieDialog().
|
privateslot |
Definition at line 276 of file G4OpenGLQtMovieDialog.cc.
References checkTempFolderParameters(), and fTempFolderPath.
Referenced by G4OpenGLQtMovieDialog().
void G4OpenGLQtMovieDialog::setRecordingInfos | ( | QString | txt | ) |
Definition at line 459 of file G4OpenGLQtMovieDialog.cc.
References fRecordingInfos.
Referenced by checkEncoderSwParameters(), G4OpenGLQtMovieDialog(), and G4OpenGLQtViewer::setRecordingInfos().
void G4OpenGLQtMovieDialog::setRecordingStatus | ( | QString | txt | ) |
Definition at line 392 of file G4OpenGLQtMovieDialog.cc.
References fButtonSave, fButtonStartPause, fButtonStopFinishClose, fParentViewer, fRecordingStatus, G4OpenGLQtViewer::isBadEncoder(), G4OpenGLQtViewer::isBadOutput(), G4OpenGLQtViewer::isBadTmp(), G4OpenGLQtViewer::isFailed(), G4OpenGLQtViewer::isPaused(), G4OpenGLQtViewer::isRecording(), G4OpenGLQtViewer::isStopped(), G4OpenGLQtViewer::isSuccess(), and G4OpenGLQtViewer::isWaiting().
Referenced by G4OpenGLQtViewer::displayRecordingStatus(), and G4OpenGLQtMovieDialog().
|
slot |
Definition at line 304 of file G4OpenGLQtMovieDialog.cc.
References fParentViewer, and G4OpenGLQtViewer::stopVideo().
Referenced by G4OpenGLQtMovieDialog().
|
private |
Definition at line 71 of file G4OpenGLQtMovieDialog.hh.
Referenced by G4OpenGLQtMovieDialog(), and setRecordingStatus().
|
private |
Definition at line 72 of file G4OpenGLQtMovieDialog.hh.
Referenced by enabledApplyButton(), G4OpenGLQtMovieDialog(), and setRecordingStatus().
|
private |
Definition at line 70 of file G4OpenGLQtMovieDialog.hh.
Referenced by G4OpenGLQtMovieDialog(), and setRecordingStatus().
|
private |
Definition at line 61 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkEncoderSwParameters(), G4OpenGLQtMovieDialog(), and selectEncoderPathAction().
|
private |
Definition at line 65 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkEncoderSwParameters(), and G4OpenGLQtMovieDialog().
|
private |
Definition at line 64 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkEncoderSwParameters(), checkSaveFileNameParameters(), checkTempFolderParameters(), G4OpenGLQtMovieDialog(), resetRecording(), save(), setRecordingStatus(), and stopFinishClose().
|
private |
Definition at line 69 of file G4OpenGLQtMovieDialog.hh.
Referenced by G4OpenGLQtMovieDialog(), and setRecordingInfos().
|
private |
Definition at line 68 of file G4OpenGLQtMovieDialog.hh.
Referenced by G4OpenGLQtMovieDialog(), and setRecordingStatus().
|
private |
Definition at line 63 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkSaveFileNameParameters(), G4OpenGLQtMovieDialog(), and selectSaveFileNameAction().
|
private |
Definition at line 67 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkSaveFileNameParameters(), and G4OpenGLQtMovieDialog().
|
private |
Definition at line 62 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkTempFolderParameters(), G4OpenGLQtMovieDialog(), and selectTempPathAction().
|
private |
Definition at line 66 of file G4OpenGLQtMovieDialog.hh.
Referenced by checkTempFolderParameters(), and G4OpenGLQtMovieDialog().