-
Notifications
You must be signed in to change notification settings - Fork 8
/
presetedit.h
42 lines (30 loc) · 909 Bytes
/
presetedit.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
#ifndef PRESETEDIT_H
#define PRESETEDIT_H
#include <QWidget>
#include "preset.h"
namespace Ui {
class PresetEdit;
}
class PresetEdit : public QWidget
{
Q_OBJECT
public:
explicit PresetEdit(QWidget *parent = 0);
~PresetEdit();
void setPreset(Preset* preset);
signals:
void onEdited();
private slots:
void on_crossEyedCheckBox_stateChanged(int state);
void on_dpiSpinBox_valueChanged(int dpi);
void on_minimumDepthDoubleSpinBox_valueChanged(double mindepth);
void on_maximumDepthDoubleSpinBox_valueChanged(double maxdepth);
void on_eyeSeperationDoubleSpinBox_valueChanged(double eyesep);
void on_observerDistanceInDoubleSpinBox_valueChanged(double obsdist);
void on_imageHeightSpinBox_valueChanged(int height);
void on_imageWidthSpinBox_valueChanged(int width);
private:
Ui::PresetEdit *ui;
Preset *m_preset;
};
#endif // PRESETEDIT_H