Script
|
#include <exportvideodlg.h>
Public Types | |
typedef std::vector< String > | stringVec |
Public Slots | |
int | getFromRange () |
Get the first scene frame index to begin export. | |
int | getToRange () |
Get the last scene frame index to end export. | |
int | getResX () |
Get the x resolution of the scene. | |
int | getResY () |
Get the y resolution of the scene. | |
String | getDisplayName () |
Get the name to display. | |
String | getOutputFile () |
Get the output file. | |
String | getVideoConfig () |
Get the video configuration. | |
void | setVideoConfig (String &config) |
Set the video configuration. | |
String | getAudioConfig () |
Get the audio configuration. | |
void | setAudioConfig (String &config) |
Set the audio configuration. | |
String | getVideoAndAudioConfig () |
Get the both video and audio configuration. | |
void | setVideoAndAudioConfig (String &config) |
Set the both video and audio configuration. | |
String | getTitle () |
Get the title of the dialog. | |
void | setTitle (String &title) |
Set the title of the dialog. | |
String | getPrefPrefix () |
Get the prefix used to set preferences. | |
void | setPrefPrefix (String &prefix) |
Set the prefix used to set preferences. | |
void | addFileType (String &type, String &typeDesc) |
Add a file extension to be know by the dialog for display it in the file explorer. | |
void | clearFileTypes () |
Clear all the file extension and description know. | |
void | init () |
Initialize dialog and settings for export. | |
int | Exec () |
Open the dialog widget. | |
void | enableProgress () |
Enable the progess for the export. | |
void | updateProgress (int progress) |
Update the progess for the export. | |
void | startExport () |
Open a dialog for the export frame progress. | |
void | endExport () |
Close the export progress dialog. | |
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=NTR("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 |
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. | |
int | toFrame |
End index frame used for export. | |
String | display |
Name displayed of the dialog. | |
String | outputFile |
File used for output. | |
String | videoConfig |
Video configuration. | |
String | audioConfig |
Audio configuration. | |
String | title |
title of the dialog | |
String | prefPrefix |
the prefix to use for the preference items | |
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 = NTR("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 |
|
read |
Audio configuration.
|
read |
Name displayed of the dialog.
|
read |
Begin index frame used for export.
|
read |
File used for output.
|
readwrite |
the prefix to use for the preference items
|
readwrite |
title of the dialog
|
read |
End index frame used for export.
|
read |
Video configuration.