-
Notifications
You must be signed in to change notification settings - Fork 1
/
preferences.h
40 lines (30 loc) · 845 Bytes
/
preferences.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
#ifndef PREFERENCES_H
#define PREFERENCES_H
#include "cameraman.h"
#include <QDialog>
namespace Ui {
class Preferences;
}
class Preferences : public QDialog
{
Q_OBJECT
public:
explicit Preferences(QWidget *parent = nullptr);
~Preferences();
private Q_SLOTS:
void on_pushButton_update_camera_list_clicked();
void on_comboBox_camera_currentIndexChanged(int index);
void on_pushButton_update_audio_list_clicked();
void on_comboBox_audio_currentIndexChanged(int index);
void on_checkBox_save_clicked(bool checked);
void on_pushButton_chooseSavePath_clicked();
private:
QStringList updateCameraInfo();
QStringList updateAudioInfo();
void accept() override;
private:
Ui::Preferences *ui;
std::vector<CameraDesc> mCameras;
std::vector<AudioDesc> mAudios;
};
#endif // PREFERENCES_H