A subclass of QtlDialog which implements the UI for the "Edit Settings" action. More...
Classes | |
| class | OutputDirectory |
| Description of an output directory settings. More... | |
Public Member Functions | |
| QtlMovieEditSettings (QtlMovieSettings *settings, QtlMovieHelp *help, QWidget *parent=0) | |
| Constructor. More... | |
| void | applySettings () |
| Apply the settings values from the dialog box to the QtlTestSettings instance. More... | |
Public Member Functions inherited from QtlDialog | |
| QtlDialog (QWidget *parent=0, Qt::WindowFlags flags=0, QtlGeometrySettingsInterface *geometrySettings=0) | |
| Constructor. More... | |
| QtlGeometrySettingsInterface * | geometrySettings () const |
| Get the object where to save and restore the dialog geometry. More... | |
| void | setGeometrySettings (QtlGeometrySettingsInterface *geometrySettings, bool restoreImmediately=false) |
| Set the object where to save and restore the dialog geometry. More... | |
Private Types | |
| typedef QMap< QtlMovieOutputFile::OutputType, OutputDirectory > | OutputDirectoryMap |
| A map of OutputDirectory indexed by output type. More... | |
Private Slots | |
| void | browseCcextractor () |
| Invoked by the "Browse..." button for the CCExtractor executable. More... | |
| void | browseDvdAuthor () |
| Invoked by the "Browse..." button for the DvdAuthor executable. More... | |
| void | browseDvdBurner () |
| Invoked by the "Browse..." button for the DVD burner device. More... | |
| void | browseDvdExtractionDir () |
| Invoked by the "Browse..." button for the default output directory for DVD extraction. More... | |
| void | browseFFmpeg () |
| Invoked by the "Browse..." button for the FFmpeg executable. More... | |
| void | browseFFprobe () |
| Invoked by the "Browse..." button for the FFprobe executable. More... | |
| void | browseGrowisofs () |
| Invoked by the "Browse..." button for the Growisofs executable. More... | |
| void | browseInputDir () |
| Invoked by the "Browse..." button for the default input directory. More... | |
| void | browseMkisofs () |
| Invoked by the "Browse..." button for the Mkisofs executable. More... | |
| void | browseOutputDir () |
| Invoked by the "Browse..." buttons for the various default output directories. More... | |
| void | createChapterToggled (bool createChapters) |
| Invoked when the check box "create chapters" is toggled. More... | |
| void | deleteAudienceLanguage () |
| Invoked by the "Delete" button in the target audience language editing. More... | |
| void | dvdBurningSpeedChanged (int speed) |
| Invoked when the DVD burning speed is changed in the spin box. More... | |
| void | enableDeleteAudienceLanguage () |
| Enable or disable the "Delete" button in the target audience language editing, based on the selection. More... | |
| void | help () |
| Invoked by the "Help" button. More... | |
| void | newAudienceLanguage () |
| Invoked by the "New..." button in the target audience language editing. More... | |
| void | resetValues (QAbstractButton *button=0) |
| Reset the dialog box values from the settings object. More... | |
| void | setDefaultOutputDirSelectable (bool sameAsInput) |
| Invoked when the check box "default output directory is same as input" is toggled. More... | |
| void | setNormalizeAudioSelectable (bool normalize) |
| Invoked when the check box "normalize audio level" is toggled. More... | |
| void | updateMaxBitRates () |
| Invoked when iPhone/iPad/Android/AVI video quality is updated, update the corresponding max bitrate. More... | |
Private Member Functions | |
| QtlMovieEditSettings () Q_DECL_EQ_DELETE | |
| void | setDefaultExecutable (const QString &name, QLabel *label, const QString &fileName) |
| Set the default executable path of a media tool. More... | |
| void | setModelScreenSizes (QtlButtonGrid *grid, const QVector< QtlMovieDeviceProfile > &models) |
| Fill a button grid with all model screen sizes of a specific family of devices. More... | |
| void | updateMaxBitRate (QLabel *labelMaxBitRate, const QSpinBox *spinBoxQuality, int width, int height, float frameRate) |
| Update a label containing the maximum video bitrate for an output type. More... | |
Private Attributes | |
| QtlMovieHelp * | _help |
| Object to display help. More... | |
| OutputDirectoryMap | _outDirs |
| Output directories settings. More... | |
| QtlMovieSettings * | _settings |
| Associated QtlMovieSettings object. More... | |
| Ui::QtlMovieEditSettings | _ui |
| UI from Qt Designer. More... | |
| bool | _useDvdBurnerCombo |
| Alternate combo box for DVD burner selection. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QtlDialog | |
| virtual bool | event (QEvent *event) Q_DECL_OVERRIDE |
| Process an event. More... | |
A subclass of QtlDialog which implements the UI for the "Edit Settings" action.
The design of the UI is done using Qt Designer.
|
private |
A map of OutputDirectory indexed by output type.
|
explicit |
Constructor.
| [in] | settings | The settings from which to load the initial values. |
| [in] | help | Object to display help. |
| [in] | parent | Optional parent widget. |
|
private |
| void QtlMovieEditSettings::applySettings | ( | ) |
Apply the settings values from the dialog box to the QtlTestSettings instance.
|
privateslot |
Reset the dialog box values from the settings object.
| button | The clicked button. Do nothing if not null and not the Reset button. |
|
privateslot |
Invoked by the "Help" button.
|
inlineprivateslot |
Invoked by the "Browse..." button for the FFmpeg executable.
|
inlineprivateslot |
Invoked by the "Browse..." button for the FFprobe executable.
|
inlineprivateslot |
Invoked by the "Browse..." button for the DvdAuthor executable.
|
inlineprivateslot |
Invoked by the "Browse..." button for the Mkisofs executable.
|
inlineprivateslot |
Invoked by the "Browse..." button for the Growisofs executable.
|
inlineprivateslot |
Invoked by the "Browse..." button for the CCExtractor executable.
|
inlineprivateslot |
Invoked by the "Browse..." button for the default input directory.
|
inlineprivateslot |
Invoked by the "Browse..." button for the default output directory for DVD extraction.
|
privateslot |
Invoked when the check box "default output directory is same as input" is toggled.
| sameAsInput | State of the check box. |
|
privateslot |
Invoked by the "Browse..." buttons for the various default output directories.
|
privateslot |
Invoked by the "Browse..." button for the DVD burner device.
|
privateslot |
Invoked by the "New..." button in the target audience language editing.
|
privateslot |
Invoked by the "Delete" button in the target audience language editing.
|
privateslot |
Enable or disable the "Delete" button in the target audience language editing, based on the selection.
|
privateslot |
Invoked when the check box "create chapters" is toggled.
| createChapters | State of the check box. |
|
privateslot |
Invoked when the check box "normalize audio level" is toggled.
| normalize | State of the check box. |
|
privateslot |
Invoked when iPhone/iPad/Android/AVI video quality is updated, update the corresponding max bitrate.
|
privateslot |
Invoked when the DVD burning speed is changed in the spin box.
| [in] | speed | The new speed in Nx. |
|
private |
Fill a button grid with all model screen sizes of a specific family of devices.
| [in] | grid | The button grid to fill. |
| [in] | models | List of devices. |
|
private |
Set the default executable path of a media tool.
| [in] | name | Product name. |
| [in,out] | label | The label widget to update. |
| [in] | fileName | The default executable path. |
|
private |
Update a label containing the maximum video bitrate for an output type.
| [in,out] | labelMaxBitRate | Label to update. |
| [in] | spinBoxQuality | Sin box containing the video quality. |
| [in] | width | Reference video width. |
| [in] | height | Reference video height. |
| [in] | frameRate | Reference video frame rate. |
|
private |
UI from Qt Designer.
|
private |
Associated QtlMovieSettings object.
|
private |
Object to display help.
|
private |
Output directories settings.
|
private |
Alternate combo box for DVD burner selection.