Mercurial > hg > svgui
comparison widgets/LevelPanToolButton.h @ 942:fcbfc7fad1f2 tonioni
Allow setting big-image size directly
author | Chris Cannam |
---|---|
date | Tue, 31 Mar 2015 14:46:32 +0100 |
parents | 77110abca8a1 |
children | 6a6a63506e3f |
comparison
equal
deleted
inserted
replaced
941:d6acb8e36605 | 942:fcbfc7fad1f2 |
---|---|
36 /// Discover whether the level range includes muting or not | 36 /// Discover whether the level range includes muting or not |
37 bool includesMute() const; | 37 bool includesMute() const; |
38 | 38 |
39 void setImageSize(int pixels); | 39 void setImageSize(int pixels); |
40 | 40 |
41 void setBigImageSize(int pixels); | |
42 | |
41 public slots: | 43 public slots: |
42 /// Set level in the range [0,1] -- will be rounded | 44 /// Set level in the range [0,1] -- will be rounded |
43 void setLevel(float); | 45 void setLevel(float); |
44 | 46 |
45 /// Set pan in the range [-1,1] -- will be rounded | 47 /// Set pan in the range [-1,1] -- will be rounded |
61 protected: | 63 protected: |
62 void paintEvent(QPaintEvent *); | 64 void paintEvent(QPaintEvent *); |
63 | 65 |
64 LevelPanWidget *m_lpw; | 66 LevelPanWidget *m_lpw; |
65 int m_pixels; | 67 int m_pixels; |
68 int m_pixelsBig; | |
66 bool m_muted; | 69 bool m_muted; |
67 float m_savedLevel; | 70 float m_savedLevel; |
68 }; | 71 }; |
69 | 72 |
70 #endif | 73 #endif |