Subversion Repositories seema-scanner

Rev

Rev 9 | Rev 70 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 25
1
/*
-
 
2
 *
-
 
3
 SLStudio - Platform for Real-Time  Structured Light
-
 
4
 (c) 2013 -- 2014 Jakob Wilm, DTU, Kgs.Lyngby, Denmark
-
 
5
 *
-
 
6
*/
-
 
7
 
1
 
8
#ifndef SMPreferenceDialog_H
2
#ifndef SMPreferenceDialog_H
9
#define SMPreferenceDialog_H
3
#define SMPreferenceDialog_H
10
 
4
 
11
#include <QDialog>
5
#include <QDialog>
12
#include <QSettings>
6
#include <QSettings>
13
 
7
 
14
namespace Ui {
8
namespace Ui {
15
    class SMPreferenceDialog;
9
    class SMPreferenceDialog;
16
}
10
}
17
 
11
 
18
class SMPreferenceDialog : public QDialog{
12
class SMPreferenceDialog : public QDialog{
19
    Q_OBJECT
13
    Q_OBJECT
20
    
14
    
21
    public:
15
    public:
22
        explicit SMPreferenceDialog(QWidget *parent = 0);
16
        explicit SMPreferenceDialog(QWidget *parent = 0);
23
        ~SMPreferenceDialog();
17
        ~SMPreferenceDialog();
24
 
18
 
25
    private slots:
19
    private slots:
26
        void on_buttonBox_accepted();
20
        void on_buttonBox_accepted();
27
        void on_triggerHardwareRadioButton_clicked();
21
        void on_triggerHardwareRadioButton_clicked();
28
        void on_triggerSoftwareRadioButton_clicked();
22
        void on_triggerSoftwareRadioButton_clicked();
29
        void on_patternHorizontalCheckBox_clicked();
23
        void on_patternHorizontalCheckBox_clicked();
30
        void on_patternVerticalCheckBox_clicked();
24
        void on_patternVerticalCheckBox_clicked();
31
 
25
 
32
private:
26
private:
33
        Ui::SMPreferenceDialog *ui;
27
        Ui::SMPreferenceDialog *ui;
34
        QSettings settings;
28
        QSettings settings;
35
};
29
};
36
 
30
 
37
#endif // SMPreferenceDialog_H
31
#endif // SMPreferenceDialog_H
38
 
32