source: projectionDesigner/trunk/projdesigner/include/gui/QPreferenceDialog.h @ 149

Last change on this file since 149 was 4, checked in by Torben Dannhauer, 15 years ago
File size: 1.2 KB
Line 
1#ifndef _QPREFERENCEDIALOG_H_
2#define _QPREFERENCEDIALOG_H_
3
4#include <QtGui>
5
6#include "ui_qpreferencedialog.h"
7
8namespace projection
9{
10class ProjectionModel;
11class QDesignViewWidget;
12
13class QPreferenceDialog : public QDialog
14{
15    Q_OBJECT
16
17public:
18
19    QPreferenceDialog(QWidget* pParent=0, Qt::WFlags flag=0);
20    ~QPreferenceDialog();
21
22    void setModel(ProjectionModel* pModel);
23
24    void updateGUI();
25
26private slots:
27
28    void on_gridSizeEdit_editingFinished();
29    void on_gridSubdivSpinBox_valueChanged(int value);
30
31    void on_bufferWidthComboBox_activated(int);
32    void on_bufferHeightComboBox_activated(int);
33
34        void on_exportWidthComboBox_activated(int);
35        void on_exportHeightComboBox_activated(int);
36    void on_softEdgeCheckBox_toggled(bool checked);
37    void on_blendEdgeWidthSpinBox_valueChanged(int value);
38    void on_blendEdgeExponentEdit_editingFinished();
39    void on_exportDistortMapPatternEdit_editingFinished();
40    void on_exportBlendMapPatternEdit_editingFinished();
41    void on_exportViewMatrixPatternEdit_editingFinished();
42
43private:
44
45    Ui::QPreferenceDialog ui;
46    QDesignViewWidget* m_pDesignView;
47
48    ProjectionModel* m_pModel;
49};
50
51}; // projection
52
53#endif // _QPREFERENCEDIALOG_H_
Note: See TracBrowser for help on using the repository browser.