diff options
| author | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
| commit | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (patch) | |
| tree | 6a6e8a56ace360795e1cf1a310d5652bb23f1386 /qmap/meterwidget.h | |
| parent | 6a285ab382ebff18c88e52bec75dc1773ac33b74 (diff) | |
New upstream version 2.7.0~rc2+repackupstream/2.7.0_rc2+repack
Diffstat (limited to 'qmap/meterwidget.h')
| -rwxr-xr-x | qmap/meterwidget.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/qmap/meterwidget.h b/qmap/meterwidget.h new file mode 100755 index 00000000..af491fd2 --- /dev/null +++ b/qmap/meterwidget.h @@ -0,0 +1,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
|
