source: projectionDesigner/trunk/projdesigner/include/gui/QPanelWidget.h @ 287

Last change on this file since 287 was 4, checked in by Torben Dannhauer, 15 years ago
File size: 745 bytes
RevLine 
[4]1#ifndef _QPANELWIDGET_H_
2#define _QPANELWIDGET_H_
3
4#include <QtGui>
5
6#include "ui_qpanelwidget.h"
7
8namespace projection
9{
10class ProjectionModel;
11class Channel;
12
13class QPanelWidget : public QWidget
14{
15    Q_OBJECT
16
17public:
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
35private:
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.