Rev Author Line No. Line
2116 paro 1 #ifndef SCOPE_H
2 #define SCOPE_H
3  
4 #include <QWidget>
5 #include <QTimer>
6  
7 class Scope : public QWidget
8 {
9 Q_OBJECT
10  
11 public:
12 Scope(QWidget *parent = 0);
13 ~Scope();
14  
15 public slots:
16 void getData();
17  
18 protected:
19 void paintEvent(QPaintEvent *event);
20  
21 private:
22 char * data;
23 char dataAquired;
24  
25 QTimer *updateTimer;
26 };
27  
28 #endif