comparison widgets/AudioDial.h @ 177:dbd34ff746c7

* Update the main sv.prf for compatibility with Qt 4.2 qmake instead of that from 4.1. Add a README.Qt41 describing how to build with 4.1 if preferred. * Add OSC support for control from external scripts etc (work in progress).
author Chris Cannam
date Fri, 10 Nov 2006 13:27:57 +0000
parents d4be66d61c04
children 42118892f428
comparison
equal deleted inserted replaced
176:ad7df5989d08 177:dbd34ff746c7
97 */ 97 */
98 void setMouseDial(bool mouseDial); 98 void setMouseDial(bool mouseDial);
99 99
100 void setDefaultValue(int defaultValue); 100 void setDefaultValue(int defaultValue);
101 101
102 void setMappedValue(float mappedValue);
103
102 protected: 104 protected:
103 void drawTick(QPainter &paint, float angle, int size, bool internal); 105 void drawTick(QPainter &paint, float angle, int size, bool internal);
104 virtual void paintEvent(QPaintEvent *); 106 virtual void paintEvent(QPaintEvent *);
105 107
106 // Alternate mouse behavior event handlers. 108 // Alternate mouse behavior event handlers.