-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
52 lines (40 loc) · 991 Bytes
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtGui/QMainWindow>
#include "encodingmanager.h"
#include "misc.h"
namespace Ui
{
class MainWindow;
}
class EncodingManager;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
bool hasInputFiles();
QString takeTopInputFile();
QString getOutputDirectory();
void addInputFiles(QStringList filenames);
ConsumptionLevel getConsumptionLevel();
public slots:
void addConvertingFile(QString file);
void moveFromConvertingToCompleted(QString file);
signals:
void startClicked();
void newInputFilesAdded(QStringList filenames);
void consumptionLevelChanged();
private slots:
void addFilesClicked();
void selectDirectoryClicked();
void startButtonClicked();
void lowClicked();
void mediumClicked();
void maxClicked();
private:
void updateStates();
Ui::MainWindow *m_ui;
};
#endif // MAINWINDOW_H