Olive
proxydialog.h
1 #ifndef PROXYDIALOG_H
2 #define PROXYDIALOG_H
3 
4 #include <QDialog>
5 #include <QVector>
6 #include <QComboBox>
7 
8 struct Footage;
9 
10 class ProxyDialog : public QDialog {
11  Q_OBJECT
12 public:
13  ProxyDialog(QWidget* parent, const QVector<Footage*>& footage);
14 public slots:
15  // called if user clicks "OK" on the dialog
16  virtual void accept() override;
17 private:
18  // user's desired dimensions
19  QComboBox* size_combobox;
20 
21  // user's desired proxy format
22  QComboBox* format_combobox;
23 
24  // allows users to set the location to store proxies
25  QComboBox* location_combobox;
26 
27  // stores the custom location to store proxies if the user sets a custom location
28  QString custom_location;
29 
30  // stores the subdirectory to be made next to the source (dependent on the user's language)
31  QString proxy_folder_name;
32 
33  // list of footage to make proxies for
34  QVector<Footage*> selected_footage;
35 private slots:
36  // triggered when the user changes the index in the location combobox
37  void location_changed(int i);
38 };
39 
40 #endif // PROXYDIALOG_H
Definition: proxydialog.h:10
Definition: footage.h:46