xref: /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/about.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 #ifndef ABOUT_H
2 #define ABOUT_H
3 
4 #include <QDialog>
5 #include <QTimer>
6 #include <QDebug>
7 #include <QTime>
8 #if defined(Q_OS_LINUX)
9 #include "sdklog.h"
10 #include "Fat.h"
11 #include <unistd.h>
12 #include<sys/types.h>
13 #include<dirent.h>
14 #include<sys/stat.h>
15 #define PATH_SDCARD  "/mnt/sdcard/mmcblk1p1/"
16 #define PATH_SD_DEV  "/dev/mmcblk1p1"
17 #define PATH_USB "/mnt/usb/sda4/"
18 #define PATH_USB_DEV "/dev/sda4/"
19 
20 #endif
21 namespace Ui {
22 class About;
23 }
24 
25 class About : public QDialog
26 {
27     Q_OBJECT
28 
29 public:
30     explicit About(QWidget *parent = 0);
31     ~About();
32 public slots:
33     void on_formatButton_clicked();
34     void set_pro_value();
35 private slots:
36     void on_logLevelComboBox_currentIndexChanged(int index);
37 
38 private:
39     Ui::About *ui;
40     int test;//for test
41     QTimer *timer;
42     #if defined(Q_OS_LINUX)
43         Fat *pfat;
44     #endif
45     int dev_type;
46 };
47 
48 #endif // ABOUT_H
49