Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
proxydialog.h
Go to the documentation of this file.
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef PROXYDIALOG_H
22 #define PROXYDIALOG_H
23 
24 #include <QDialog>
25 #include <QVector>
26 #include <QComboBox>
27 
28 #include "project/media.h"
29 
36 class ProxyDialog : public QDialog {
37  Q_OBJECT
38 public:
49  ProxyDialog(QWidget* parent, const QVector<Media *> &media);
50 public slots:
57  virtual void accept() override;
58 private:
64  QComboBox* size_combobox;
65 
71  QComboBox* format_combobox;
72 
76  QComboBox* location_combobox;
77 
81  QString custom_location;
82 
89 
93  QVector<Media*> selected_media;
94 private slots:
104  void location_changed(int i);
105 };
106 
107 #endif // PROXYDIALOG_H
QString custom_location
Stores the custom location to store proxies if the user sets a custom location.
Definition: proxydialog.h:81
ProxyDialog(QWidget *parent, const QVector< Media * > &media)
ProxyDialog Constructor.
Definition: proxydialog.cpp:36
virtual void accept() override
Accept changes.
Definition: proxydialog.cpp:91
The ProxyDialog class.
Definition: proxydialog.h:36
QComboBox * format_combobox
User&#39;s desired proxy format.
Definition: proxydialog.h:71
QComboBox * location_combobox
Allows users to set the directory to store proxies in.
Definition: proxydialog.h:76
QVector< Media * > selected_media
Stored list of footage to make proxies for.
Definition: proxydialog.h:93
QString proxy_folder_name
Stores the default subdirectory to be made next to the source (dependent on the user&#39;s language) ...
Definition: proxydialog.h:88
QComboBox * size_combobox
User&#39;s desired dimensions.
Definition: proxydialog.h:64
void location_changed(int i)
Slot when the user changes the location.
Definition: proxydialog.cpp:164