Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Slots | Public Member Functions | Private Slots | Private Attributes | List of all members
ProxyDialog Class Reference

The ProxyDialog class. More...

#include <proxydialog.h>

Inheritance diagram for ProxyDialog:

Public Slots

virtual void accept () override
 Accept changes. More...
 

Public Member Functions

 ProxyDialog (QWidget *parent, const QVector< Media * > &media)
 ProxyDialog Constructor. More...
 

Private Slots

void location_changed (int i)
 Slot when the user changes the location. More...
 

Private Attributes

QComboBox * size_combobox
 User's desired dimensions. More...
 
QComboBox * format_combobox
 User's desired proxy format. More...
 
QComboBox * location_combobox
 Allows users to set the directory to store proxies in. More...
 
QString custom_location
 Stores the custom location to store proxies if the user sets a custom location. More...
 
QString proxy_folder_name
 Stores the default subdirectory to be made next to the source (dependent on the user's language) More...
 
QVector< Media * > selected_media
 Stored list of footage to make proxies for. More...
 

Detailed Description

The ProxyDialog class.

Dialog to set up proxy generation of footage. This dialog can be called from anywhere provided it's given a valid array of Media and will start all proxy generation.

Constructor & Destructor Documentation

ProxyDialog::ProxyDialog ( QWidget *  parent,
const QVector< Media * > &  media 
)

ProxyDialog Constructor.

Parameters
parentParent widget to become modal to.
footageList of Footage items to process.

Member Function Documentation

void ProxyDialog::accept ( )
overridevirtualslot

Accept changes.

Called when the user clicks OK on the dialog. Verifies all proxies, asking the user whether they want to overwrite existing proxies if necessary, and if everything is valid, queues the footage with ProxyGenerator.

void ProxyDialog::location_changed ( int  i)
privateslot

Slot when the user changes the location.

Triggered when the user changes the index in the location combobox.

Parameters
ilocation_combobox's new selected index

Member Data Documentation

QString ProxyDialog::custom_location
private

Stores the custom location to store proxies if the user sets a custom location.

QComboBox* ProxyDialog::format_combobox
private

User's desired proxy format.

e.g. ProRes, DNxHD, etc.

QComboBox* ProxyDialog::location_combobox
private

Allows users to set the directory to store proxies in.

QString ProxyDialog::proxy_folder_name
private

Stores the default subdirectory to be made next to the source (dependent on the user's language)

"Proxy" in en-US.

QVector<Media*> ProxyDialog::selected_media
private

Stored list of footage to make proxies for.

QComboBox* ProxyDialog::size_combobox
private

User's desired dimensions.

Always a fraction of the original video size (e.g. 1/2, 1/4, 1/8, etc.)


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