Mercurial > hg > easaier-soundaccess
comparison widgets/Plotter.h @ 235:7ab3e81f52d4
enable/disable alternatively draw curve and simple mode in the equalizer filter
author | lbajardsilogic |
---|---|
date | Fri, 07 Mar 2008 15:01:27 +0000 |
parents | 628531da16ef |
children | e006f4a57f86 |
comparison
equal
deleted
inserted
replaced
234:cff926c60430 | 235:7ab3e81f52d4 |
---|---|
37 void filterChanged(QVector<float>&); | 37 void filterChanged(QVector<float>&); |
38 | 38 |
39 public slots: | 39 public slots: |
40 void setCurve(float *); | 40 void setCurve(float *); |
41 void setFilter(float *); | 41 void setFilter(float *); |
42 void enableDrawCurve(bool); | |
42 | 43 |
43 | 44 |
44 protected: | 45 protected: |
45 void paintEvent(QPaintEvent *event); | 46 void paintEvent(QPaintEvent *event); |
46 void resizeEvent(QResizeEvent *event); | 47 void resizeEvent(QResizeEvent *event); |
59 int m_signalHeight; | 60 int m_signalHeight; |
60 int m_signalWidth; | 61 int m_signalWidth; |
61 int m_margin; | 62 int m_margin; |
62 bool m_curveMaskActive; | 63 bool m_curveMaskActive; |
63 QPoint m_lastPoint; | 64 QPoint m_lastPoint; |
65 | |
66 bool m_enableDrawCurve; | |
64 }; | 67 }; |
65 | 68 |
66 | 69 |
67 #endif | 70 #endif |
68 | 71 |