comparison widgets/AudioDial.h @ 219:1fff998ae4a9

* Fix failure to update mapped value when setValue is called
author Chris Cannam
date Mon, 05 Mar 2007 13:01:14 +0000
parents 5b7472db612b
children 1a49bd0d8375
comparison
equal deleted inserted replaced
218:21a5e4e7cb92 219:1fff998ae4a9
101 */ 101 */
102 void setMouseDial(bool mouseDial); 102 void setMouseDial(bool mouseDial);
103 103
104 void setDefaultValue(int defaultValue); 104 void setDefaultValue(int defaultValue);
105 105
106 void setValue(int value);
107
106 void setMappedValue(float mappedValue); 108 void setMappedValue(float mappedValue);
107 109
108 protected: 110 protected:
109 void drawTick(QPainter &paint, float angle, int size, bool internal); 111 void drawTick(QPainter &paint, float angle, int size, bool internal);
110 virtual void paintEvent(QPaintEvent *); 112 virtual void paintEvent(QPaintEvent *);