cherish
CameraProperties.h
1 #ifndef CAMERAPROPERTIES_H
2 #define CAMERAPROPERTIES_H
3 
4 #include <QDialog>
5 #include <QScopedPointer>
6 
7 //#include "ui_CameraProperties.h"
8 
9 namespace Ui {
10 class CameraProperties;
11 }
12 
15 class CameraProperties : public QDialog
16 {
17  Q_OBJECT
18 public:
20  explicit CameraProperties(double fov=60.f, QWidget *parent = 0);
22 
23  float getFOV() const;
24 
25 signals:
27  void fovChangedBySlider(double);
28 
30  void orthoChecked(bool);
31 
32 public slots:
34  void onOrthoChecked(bool val);
35 
37  void onFOVSet(double fov);
38 
39 private slots:
40  void onSliderMoved(int position);
41 
42 private:
43  QScopedPointer<Ui::CameraProperties> m_ui;
44 
45 };
46 
47 #endif // CAMERAPROPERTIES_H
Definition: CameraProperties.h:9
Widget that contains camera aperture properties.
Definition: CameraProperties.h:15