-
Notifications
You must be signed in to change notification settings - Fork 8
/
mainwindow.h
62 lines (40 loc) · 1.19 KB
/
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
53
54
55
56
57
58
59
60
61
62
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "preset.h"
#define SETTINGS_FILE "settings.bin"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void setDepthImage(const QImage & image);
void setComposePattern(const QImage & image);
private slots:
void on_renderButton_clicked();
void on_action_obj_triggered();
void on_action_ply_triggered();
void on_actionLoad_Texture_triggered();
void on_actionLoad_Depth_Map_triggered();
void on_actionCreate_Anaglyph_triggered();
void on_actionAdd_preset_triggered();
void on_presetSelect_currentIndexChanged(int index);
void on_actionSave_Presets_triggered();
void on_actionReset_triggered();
void on_actionRename_Preset_triggered();
void on_actionRemove_preset_triggered();
void on_actionGenerate_Depth_Map_triggered();
void on_rolling_clicked();
void on_show_helpers_toggled(bool checked);
private:
void loadPresets();
void savePresets();
Ui::MainWindow *ui;
Preset *cur_preset;
QList<Preset*> m_presets;
};
#endif // MAINWINDOW_H