File: meterwidget.h

package info (click to toggle)
wsjtx 1.1.r3496-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,988 kB
  • ctags: 1,377
  • sloc: cpp: 6,647; f90: 5,319; ansic: 1,266; fortran: 108; makefile: 17; sh: 10
file content (30 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef METERWIDGET_H
#define METERWIDGET_H

#include <QWidget>
#include <QtGui>
#include <QQueue>

class MeterWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MeterWidget(QWidget *parent = 0);
    
signals:
    
public slots:
    void setValue(int value);

private:
    QQueue<int> signalQueue;

    int m_signal;
    int m_sigPeak;

protected:
    void paintEvent( QPaintEvent * );
    
};

#endif // METERWIDGET_H