1 | #ifndef _QCHANNELWIDGET_H_ |
---|
2 | #define _QCHANNELWIDGET_H_ |
---|
3 | |
---|
4 | #include <QtGui> |
---|
5 | |
---|
6 | #include "Frustum.h" |
---|
7 | #include "interfaces.h" |
---|
8 | |
---|
9 | #include "ui_qchannelwidget.h" |
---|
10 | |
---|
11 | namespace projection |
---|
12 | { |
---|
13 | class Channel; |
---|
14 | |
---|
15 | class QChannelWidget : public QWidget |
---|
16 | { |
---|
17 | Q_OBJECT |
---|
18 | |
---|
19 | public: |
---|
20 | |
---|
21 | QChannelWidget(QWidget* pParent=0, Qt::WFlags flag=0); |
---|
22 | ~QChannelWidget(); |
---|
23 | |
---|
24 | void setChannel(Channel* pChannel); |
---|
25 | Channel* getChannel() const; |
---|
26 | |
---|
27 | public slots: |
---|
28 | |
---|
29 | void updateGUI(); |
---|
30 | |
---|
31 | void on_projectionTransformWidget_matrixChanged(const TransformMatrix& TM); |
---|
32 | void on_viewProjectionWidget_matrixChanged(const ProjectionMatrix& matrix); |
---|
33 | void on_viewTransformWidget_matrixChanged(const TransformMatrix& matrix); |
---|
34 | |
---|
35 | private slots: |
---|
36 | |
---|
37 | void on_nameEdit_editingFinished(); |
---|
38 | void on_overlayNameCheckBox_toggled(bool checked); |
---|
39 | void on_remoteHostNameEdit_editingFinished(); |
---|
40 | void on_remoteFullScreenCheckBox_toggled(bool checked); |
---|
41 | void on_remoteScreenComboBox_activated(int index); |
---|
42 | void on_overlayImageEdit_editingFinished(); |
---|
43 | void on_overlayImageBrowseButton_clicked(); |
---|
44 | void on_warpCheckBox_toggled(bool checked); |
---|
45 | void on_warpResSpinBox_valueChanged(int value); |
---|
46 | void on_warpResetButton_clicked(); |
---|
47 | void on_calibrateButton_clicked(); |
---|
48 | void on_fitButton_clicked(); |
---|
49 | void on_windowButton_clicked(); |
---|
50 | void on_pluginComboBox_currentIndexChanged(int index); |
---|
51 | |
---|
52 | private: |
---|
53 | |
---|
54 | Ui::QChannelWidget ui; |
---|
55 | |
---|
56 | Channel* m_pChannel; |
---|
57 | }; |
---|
58 | |
---|
59 | }; // projection |
---|
60 | |
---|
61 | #endif // _QCHANNELWIDGET_H_ |
---|