1 #ifndef PREVIEW_H 2 #define PREVIEW_H 3 4 #include <QDialog> 5 #include "rear_camera_setting.h" 6 #include "front_camera_setting.h" 7 //#include "settings.h" 8 //#include "ui_settings.h" 9 10 namespace Ui { 11 class Preview; 12 } 13 14 class Preview : public QDialog 15 { 16 Q_OBJECT 17 18 public: 19 explicit Preview(QWidget *parent = 0); 20 ~Preview(); 21 22 public slots: 23 void on_rearButton_clicked(bool); 24 void on_frontButton_clicked(bool); 25 26 private: 27 Ui::Preview *ui; 28 Rear_Camera_Setting *rear_camera_setting; 29 Front_camera_setting *front_camera_setting; 30 }; 31 32 #endif // PREVIEW_H 33