Script
|
#include <exportvideodlg.h>
Public Types | |
typedef std::vector< String > | stringVec |
Public Slots | |
int | getFromRange () |
Get the first scene frame index to begin export. More... | |
int | getToRange () |
Get the last scene frame index to end export. More... | |
int | getResX () |
Get the x resolution of the scene. More... | |
int | getResY () |
Get the y resolution of the scene. More... | |
String | getDisplayName () |
Get the name to display. More... | |
String | getOutputFile () |
Get the output file. More... | |
String | getVideoConfig () |
Get the video configuration. More... | |
void | setVideoConfig (String &config) |
Set the video configuration. More... | |
String | getAudioConfig () |
Get the audio configuration. More... | |
void | setAudioConfig (String &config) |
Set the audio configuration. More... | |
String | getVideoAndAudioConfig () |
Get the both video and audio configuration. More... | |
void | setVideoAndAudioConfig (String &config) |
Set the both video and audio configuration. More... | |
String | getTitle () |
Get the title of the dialog. More... | |
void | setTitle (String &title) |
Set the title of the dialog. More... | |
String | getPrefPrefix () |
Get the prefix used to set preferences. More... | |
void | setPrefPrefix (String &prefix) |
Set the prefix used to set preferences. More... | |
void | addFileType (String &type, String &typeDesc) |
Add a file extension to be know by the dialog for display it in the file explorer. More... | |
void | clearFileTypes () |
Clear all the file extension and description know. More... | |
void | init () |
Initialize dialog and settings for export. More... | |
int | Exec () |
Open the dialog widget. More... | |
void | enableProgress () |
Enable the progess for the export. More... | |
void | updateProgress (int progress) |
Update the progess for the export. More... | |
void | startExport () |
Open a dialog for the export frame progress. More... | |
void | endExport () |
Close the export progress dialog. More... | |
Signals | |
void | exportCanceled () |
void | showAudioOptions () |
void | showVideoOptions () |
void | showVideoAndAudioOptions () |
Public Member Functions | |
ExportVideoDlg (TUScene *pScene, QWidget *pParent=NULL, String title=tr("Export Dialog"), String prefPrefix=QNTR("EXPORTVIDEO")) | |
virtual | ~ExportVideoDlg () |
TUDisplayModule * | getDisplay () |
bool | printTimecode () |
bool | printTimecodeFrame () |
String | printNote () |
Protected Slots | |
virtual void | Accept () |
virtual void | openFileBrowser () |
virtual void | enableFrameSelect () |
virtual void | disableFrameSelect () |
virtual void | onExportCanceled () |
virtual void | onShown () |
virtual void | onShowAudioOptions () |
virtual void | onShowVideoOptions () |
virtual void | onShowVideoAndAudioOptions () |
virtual void | onResolution (int index) |
virtual void | onResX (int value) |
virtual void | onResY (int value) |
Protected Member Functions | |
void | correctOutputFilePath (String &file) |
bool | isValidFileType (String &type) |
String | getFirstFileType () |
virtual void | loadPreferences () |
virtual void | savePreferences () |
ExportVideoDlg () | |
Protected Attributes | |
QSpinBox * | m_fromSpinBox |
QSpinBox * | m_toSpinBox |
QLineEdit * | m_outputFileEdit |
String | m_outputFile |
QPushButton * | m_openFileDlgBtn |
QComboBox * | m_display |
QRadioButton * | m_all |
QRadioButton * | m_selectRange |
QComboBox * | m_resolution |
QSpinBox * | m_resX |
QSpinBox * | m_resY |
UI_OKCancelButtons * | m_okCancel |
QPushButton * | m_videoOptionsBtn |
QPushButton * | m_soundOptionsBtn |
QPushButton * | m_videoAudioOptionsBtn |
String | _lastOutputFile |
String | _lastExportDisplay |
bool | _bExportAll |
int | _iRangeStart |
int | _iRangeStop |
int | _iResolution |
int | _iCustomResX |
int | _iCustomResY |
String | _audioConfig |
String | _videoConfig |
String | _videoAudioConfig |
String | _prefPrefix |
String | _iLastSceneName |
stringVec | _displayListString |
StringList | _fileTypes |
StringList | _typesDesc |
int | _iFrameCnt |
bool | _isShown |
bool | _showProgress |
TUSafeProgressDialog | _progressDlg |
TUScene * | _scene |
Properties | |
int | fromFrame |
Begin index frame used for export. More... | |
int | toFrame |
End index frame used for export. More... | |
String | display |
Name displayed of the dialog. More... | |
String | outputFile |
File used for output. More... | |
String | videoConfig |
Video configuration. More... | |
String | audioConfig |
Audio configuration. More... | |
String | title |
title of the dialog More... | |
String | prefPrefix |
the prefix to use for the preference items More... | |
Class used to create, initialize and make export from a scene
You can use it in Script Editor only.
typedef std::vector<String> ExportVideoDlg::stringVec |
ExportVideoDlg::ExportVideoDlg | ( | TUScene * | pScene, |
QWidget * | pParent = NULL , |
||
String | title = tr("Export Dialog") , |
||
String | prefPrefix = QNTR("EXPORTVIDEO") |
||
) |
|
virtual |
|
protected |
|
protectedvirtualslot |
|
slot |
Add a file extension to be know by the dialog for display it in the file explorer.
|
slot |
Clear all the file extension and description know.
|
protected |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
slot |
Enable the progess for the export.
|
slot |
Close the export progress dialog.
|
slot |
Open the dialog widget.
|
signal |
|
slot |
Get the audio configuration.
TUDisplayModule* ExportVideoDlg::getDisplay | ( | ) |
|
slot |
Get the name to display.
|
protected |
|
slot |
Get the first scene frame index to begin export.
|
slot |
Get the output file.
|
slot |
Get the prefix used to set preferences.
|
slot |
Get the x resolution of the scene.
|
slot |
Get the y resolution of the scene.
|
slot |
Get the title of the dialog.
|
slot |
Get the last scene frame index to end export.
|
slot |
Get the both video and audio configuration.
|
slot |
Get the video configuration.
|
slot |
Initialize dialog and settings for export.
|
protected |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
inlineprotectedvirtualslot |
|
protectedvirtualslot |
|
inlineprotectedvirtualslot |
|
inlineprotectedvirtualslot |
|
protectedvirtualslot |
String ExportVideoDlg::printNote | ( | ) |
bool ExportVideoDlg::printTimecode | ( | ) |
bool ExportVideoDlg::printTimecodeFrame | ( | ) |
|
protectedvirtual |
|
slot |
Set the audio configuration.
|
slot |
Set the prefix used to set preferences.
|
slot |
Set the title of the dialog.
|
slot |
Set the both video and audio configuration.
|
slot |
Set the video configuration.
|
signal |
|
signal |
|
signal |
|
slot |
Open a dialog for the export frame progress.
|
slot |
Update the progess for the export.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
readprivate |
Audio configuration.
|
readprivate |
Name displayed of the dialog.
|
readprivate |
Begin index frame used for export.
|
readprivate |
File used for output.
|
readwriteprivate |
the prefix to use for the preference items
|
readwriteprivate |
title of the dialog
|
readprivate |
End index frame used for export.
|
readprivate |
Video configuration.