QtlMovie 1.12 (A specialized FFmpeg front-end)
QtlMovieEditTask Class Reference

A subclass of QWidget which implements the UI for the editing a task. More...

Inheritance diagram for QtlMovieEditTask:

Public Slots

void selectInputFile ()
 Invoked to select input file. More...
 
void selectOutputFile ()
 Invoked to select output file. More...
 
void selectSubtitleFile ()
 Invoked to select subtitle file. More...
 
void showAudioTest ()
 Invoked by the "Audio Test..." button. More...
 
void showInputFileProperties ()
 Invoked by the "Show Input File Properties..." button. More...
 
void transcodingUpdateUi (bool started)
 Update the UI when transcoding starts or stops. More...
 

Public Member Functions

 QtlMovieEditTask (QWidget *parent=0)
 Constructor. More...
 
void initialize (QtlMovieTask *task, QtlMovieSettings *settings, QtlLogger *log)
 Initialize the editor. More...
 
QtlMovieTasktask () const
 Get the task to edit. More...
 

Private Slots

void clearInputStreamInfo ()
 Clear input file stream information. More...
 
void enableOutputTypes ()
 Enable or disable the various output types based on the input file. More...
 
void forcedDarChanged ()
 Invoked when the "forced display aspect ratio" has been changed. More...
 
void inputFileFormatChanged ()
 Invoked when new media information is available on the input file. More...
 
void inputFileNameChanged (const QString &fileName)
 Invoked when the input file name has changed. More...
 
void inputFileNameEdited ()
 Invoked when the edition of the input file name changed in the edit box. More...
 
void inputStreamSelectionUpdated ()
 Invoked when the selections of input streams have changed. More...
 
void outputFileNameChanged (const QString &fileName)
 Invoked when the output file name has changed. More...
 
void outputFileNameEdited ()
 Invoked when the edition of the output file name changed in the edit box. More...
 
void resetForcedDisplayAspectRatio ()
 Reset the content of the "forced display aspect ratio" with the actual DAR of the selected video stream. More...
 
void setOutputFileType ()
 Set the output file type based on selected radio button. More...
 

Private Member Functions

 QtlMovieEditTask () Q_DECL_EQ_DELETE
 
void setInputFileName (const QString &fileName)
 Set the input file name in the UI. More...
 

Private Attributes

QtlLogger_log
 Where to log errors. More...
 
QtlMovieSettings_settings
 Application settings. More...
 
QtlMovieTask_task
 The task to edit. More...
 
Ui::QtlMovieEditTask _ui
 UI from Qt Designer. More...
 
int _updatingSelections
 A counter to protect inputStreamSelectionUpdated(). More...
 

Detailed Description

A subclass of QWidget which implements the UI for the editing a task.

This form is typically inserted either in the QtlMovieMainWindow (single file mode) or in a QtlMovieEditTaskDialog (batch mode). The design of the UI is done using Qt Designer.

Constructor & Destructor Documentation

◆ QtlMovieEditTask() [1/2]

QtlMovieEditTask::QtlMovieEditTask ( QWidget *  parent = 0)
explicit

Constructor.

Parameters
[in]parentOptional parent widget.

◆ QtlMovieEditTask() [2/2]

QtlMovieEditTask::QtlMovieEditTask ( )
private

Member Function Documentation

◆ initialize()

void QtlMovieEditTask::initialize ( QtlMovieTask task,
QtlMovieSettings settings,
QtlLogger log 
)

Initialize the editor.

Must be invoked before using the editor. May be used only once.

Parameters
[in]taskThe task to edit.
[in]settingsApplication settings.
[in]logWhere to log errors.

◆ task()

QtlMovieTask* QtlMovieEditTask::task ( ) const
inline

Get the task to edit.

Returns
A pointer to the task to edit.

◆ transcodingUpdateUi

void QtlMovieEditTask::transcodingUpdateUi ( bool  started)
slot

Update the UI when transcoding starts or stops.

Parameters
[in]startedTrue if transcoding starts, false if transcoding stops.

◆ showInputFileProperties

void QtlMovieEditTask::showInputFileProperties ( )
slot

Invoked by the "Show Input File Properties..." button.

◆ showAudioTest

void QtlMovieEditTask::showAudioTest ( )
slot

Invoked by the "Audio Test..." button.

◆ selectInputFile

void QtlMovieEditTask::selectInputFile ( )
slot

Invoked to select input file.

◆ selectOutputFile

void QtlMovieEditTask::selectOutputFile ( )
slot

Invoked to select output file.

◆ selectSubtitleFile

void QtlMovieEditTask::selectSubtitleFile ( )
slot

Invoked to select subtitle file.

◆ setOutputFileType

void QtlMovieEditTask::setOutputFileType ( )
privateslot

Set the output file type based on selected radio button.

◆ inputFileNameEdited

void QtlMovieEditTask::inputFileNameEdited ( )
privateslot

Invoked when the edition of the input file name changed in the edit box.

◆ inputFileNameChanged

void QtlMovieEditTask::inputFileNameChanged ( const QString &  fileName)
privateslot

Invoked when the input file name has changed.

Parameters
[in]fileNameAbsolute file path.

◆ inputFileFormatChanged

void QtlMovieEditTask::inputFileFormatChanged ( )
privateslot

Invoked when new media information is available on the input file.

◆ outputFileNameEdited

void QtlMovieEditTask::outputFileNameEdited ( )
privateslot

Invoked when the edition of the output file name changed in the edit box.

◆ outputFileNameChanged

void QtlMovieEditTask::outputFileNameChanged ( const QString &  fileName)
privateslot

Invoked when the output file name has changed.

Parameters
[in]fileNameAbsolute file path.

◆ enableOutputTypes

void QtlMovieEditTask::enableOutputTypes ( )
privateslot

Enable or disable the various output types based on the input file.

◆ clearInputStreamInfo

void QtlMovieEditTask::clearInputStreamInfo ( )
privateslot

Clear input file stream information.

◆ inputStreamSelectionUpdated

void QtlMovieEditTask::inputStreamSelectionUpdated ( )
privateslot

Invoked when the selections of input streams have changed.

Update the selected streams in the input file object. Enable/disable output types according to what is possible or not.

◆ resetForcedDisplayAspectRatio

void QtlMovieEditTask::resetForcedDisplayAspectRatio ( )
privateslot

Reset the content of the "forced display aspect ratio" with the actual DAR of the selected video stream.

◆ forcedDarChanged

void QtlMovieEditTask::forcedDarChanged ( )
privateslot

Invoked when the "forced display aspect ratio" has been changed.

◆ setInputFileName()

void QtlMovieEditTask::setInputFileName ( const QString &  fileName)
private

Set the input file name in the UI.

Parameters
[in]fileNameAbsolute file path.

Member Data Documentation

◆ _ui

Ui::QtlMovieEditTask QtlMovieEditTask::_ui
private

UI from Qt Designer.

◆ _settings

QtlMovieSettings* QtlMovieEditTask::_settings
private

Application settings.

◆ _log

QtlLogger* QtlMovieEditTask::_log
private

Where to log errors.

◆ _task

QtlMovieTask* QtlMovieEditTask::_task
private

The task to edit.

◆ _updatingSelections

int QtlMovieEditTask::_updatingSelections
private

A counter to protect inputStreamSelectionUpdated().


The documentation for this class was generated from the following files: