comparison widgets/Thumbwheel.h @ 382:06b5f110c5d2

* Speed up spectrogram painting by releasing mutex in FFTDataServer while calculating data prior to writing it, and by adding whole-column value query methods to FFT objects * Add paint cache to Thumbwheel -- repaints of this widget were slowing down the whole spectrogram repaint * More uses of MutexLocker (named and with debug) and more profile points * Make startup much quicker some of the time, with OSC server in place
author Chris Cannam
date Thu, 08 May 2008 14:46:22 +0000
parents c492902dba40
children 4a578a360011
comparison
equal deleted inserted replaced
380:a6408c382616 382:06b5f110c5d2
15 15
16 #ifndef _THUMBWHEEL_H_ 16 #ifndef _THUMBWHEEL_H_
17 #define _THUMBWHEEL_H_ 17 #define _THUMBWHEEL_H_
18 18
19 #include <QWidget> 19 #include <QWidget>
20 #include <QImage>
21
22 #include <map>
20 23
21 class RangeMapper; 24 class RangeMapper;
22 25
23 class Thumbwheel : public QWidget 26 class Thumbwheel : public QWidget
24 { 27 {
90 bool m_atDefault; 93 bool m_atDefault;
91 QPoint m_clickPos; 94 QPoint m_clickPos;
92 float m_clickRotation; 95 float m_clickRotation;
93 bool m_showTooltip; 96 bool m_showTooltip;
94 RangeMapper *m_rangeMapper; 97 RangeMapper *m_rangeMapper;
98 QImage m_cache;
95 }; 99 };
96 100
97 #endif 101 #endif