Mercurial > hg > easaier-soundaccess
comparison widgets/Plotter.h @ 229:7d5d51145b81
support stereo in MultiRealTimeFilter and integrate Equalizer filter
author | lbajardsilogic |
---|---|
date | Wed, 05 Mar 2008 14:08:57 +0000 |
parents | fbd4905ada5e |
children | 70b88fbbfb5c |
comparison
equal
deleted
inserted
replaced
228:a6b881972a62 | 229:7d5d51145b81 |
---|---|
31 void setCurveData(const QVector<QPoint> &data); | 31 void setCurveData(const QVector<QPoint> &data); |
32 void clearCurve(); | 32 void clearCurve(); |
33 void setSignalSize(int m_signalWidth, int m_signalHeight); | 33 void setSignalSize(int m_signalWidth, int m_signalHeight); |
34 void setMargin(int margin); | 34 void setMargin(int margin); |
35 | 35 |
36 signals: | |
37 void curveChanged(QVector<int>&); | |
38 | |
39 public slots: | |
40 void setCurve(float *); | |
41 | |
36 protected: | 42 protected: |
37 void paintEvent(QPaintEvent *event); | 43 void paintEvent(QPaintEvent *event); |
38 void resizeEvent(QResizeEvent *event); | 44 void resizeEvent(QResizeEvent *event); |
39 void mousePressEvent(QMouseEvent *event); | 45 void mousePressEvent(QMouseEvent *event); |
40 void mouseMoveEvent(QMouseEvent *event); | 46 void mouseMoveEvent(QMouseEvent *event); |
44 void refreshPixmap(); | 50 void refreshPixmap(); |
45 void drawGrid(QPainter *painter); | 51 void drawGrid(QPainter *painter); |
46 void drawCurve(QPainter *painter); | 52 void drawCurve(QPainter *painter); |
47 void drawMaskCurve(QPainter *painter); | 53 void drawMaskCurve(QPainter *painter); |
48 QVector<QPoint> m_curve; | 54 QVector<QPoint> m_curve; |
49 int *m_curveMask; | 55 QVector<int> m_curveMask; |
50 QPixmap m_pixmap; | 56 QPixmap m_pixmap; |
51 int m_signalHeight; | 57 int m_signalHeight; |
52 int m_signalWidth; | 58 int m_signalWidth; |
53 int m_margin; | 59 int m_margin; |
54 bool m_curveMaskActive; | 60 bool m_curveMaskActive; |