Line | |
---|
1 | #ifndef _QPANELWIDGET_H_ |
---|
2 | #define _QPANELWIDGET_H_ |
---|
3 | |
---|
4 | #include <QtGui> |
---|
5 | |
---|
6 | #include "ui_qpanelwidget.h" |
---|
7 | |
---|
8 | namespace projection |
---|
9 | { |
---|
10 | class ProjectionModel; |
---|
11 | class Channel; |
---|
12 | |
---|
13 | class QPanelWidget : public QWidget |
---|
14 | { |
---|
15 | Q_OBJECT |
---|
16 | |
---|
17 | public: |
---|
18 | |
---|
19 | QPanelWidget(QWidget* pParent=0, Qt::WFlags flag=0); |
---|
20 | ~QPanelWidget(); |
---|
21 | |
---|
22 | void setModel(ProjectionModel* pModel); |
---|
23 | void selectChannel(Channel* pChannel); |
---|
24 | void removeChannel(Channel* pChannel); |
---|
25 | |
---|
26 | void activateChannels(); |
---|
27 | void activateScreen(); |
---|
28 | void activateScene(); |
---|
29 | |
---|
30 | void updateChannelNames(); |
---|
31 | void updateChannels(); |
---|
32 | void updateCurrentChannel(); |
---|
33 | void updateGUI(); |
---|
34 | |
---|
35 | private: |
---|
36 | |
---|
37 | Ui::QPanelWidget ui; |
---|
38 | |
---|
39 | ProjectionModel* m_pModel; |
---|
40 | }; |
---|
41 | |
---|
42 | }; // projection |
---|
43 | |
---|
44 | #endif // _QPANELWIDGET_H_ |
---|
Note: See
TracBrowser
for help on using the repository browser.