source: projectionDesigner/trunk/projdesigner/include/gui/QScreenWidget.h @ 414

Last change on this file since 414 was 4, checked in by Torben Dannhauer, 15 years ago
File size: 1.5 KB
Line 
1#ifndef _QSCREENWIDGET_H_
2#define _QSCREENWIDGET_H_
3
4#include <QtGui>
5
6#include "ui_qscreenwidget.h"
7
8namespace projection
9{
10class Screen;
11
12class QScreenWidget : public QWidget
13{
14    Q_OBJECT
15
16public:
17
18    QScreenWidget(QWidget* pParent=0, Qt::WFlags flag=0);
19    ~QScreenWidget();
20
21    void setScreen(Screen* pScreen);
22
23    void updateGUI();
24
25private slots:
26
27    void on_typeComboBox_activated(int index);
28
29    void on_transformWidget_matrixChanged(const TransformMatrix& matrix);
30
31    void on_domeRadiusEdit_editingFinished();
32    void on_domeAzimResSpinBox_valueChanged(int value);
33    void on_domeElevResSpinBox_valueChanged(int value);
34    void on_domeSubdivSpinBox_valueChanged(int value);
35    void on_domeFullDomeCheckBox_toggled(bool checked);
36
37    void on_planeWidthEdit_editingFinished();
38    void on_planeHeightEdit_editingFinished();
39    void on_planeHorResSpinBox_valueChanged(int value);
40    void on_planeVertResSpinBox_valueChanged(int value);
41
42    void on_boxWidthEdit_editingFinished();
43    void on_boxHeightEdit_editingFinished();
44    void on_boxDepthEdit_editingFinished();
45    void on_boxHorResSpinBox_valueChanged(int value);
46    void on_boxVertResSpinBox_valueChanged(int value);
47    void on_boxDepthResSpinBox_valueChanged(int value);
48
49    void on_modelFileNameEdit_editingFinished();
50    void on_modelBrowseButton_clicked();
51
52    void on_frameCheckBox_toggled(bool checked);
53    void on_frameLineWidthSpinBox_valueChanged(int value);
54
55private:
56
57    Ui::QScreenWidget ui;
58
59    Screen* m_pScreen;
60};
61
62}; // projection
63
64#endif // _QSCREENWIDGET_H_
Note: See TracBrowser for help on using the repository browser.