Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 6:02aaea1ffaf7
* Beginnings of session save code
* Add spline curve mode to time value layer
author | Chris Cannam |
---|---|
date | Thu, 12 Jan 2006 17:19:08 +0000 |
parents | 37b110168acf |
children | 561be41ad083 |
comparison
equal
deleted
inserted
replaced
5:37b110168acf | 6:02aaea1ffaf7 |
---|---|
124 | 124 |
125 virtual int getCompletion() const; | 125 virtual int getCompletion() const; |
126 | 126 |
127 virtual QString getPropertyContainerIconName() const { return "spectrogram"; } | 127 virtual QString getPropertyContainerIconName() const { return "spectrogram"; } |
128 | 128 |
129 virtual QString toXmlString(QString indent = "", | |
130 QString extraAttributes = "") const; | |
131 | |
129 protected slots: | 132 protected slots: |
130 void cacheInvalid(); | 133 void cacheInvalid(); |
131 void cacheInvalid(size_t startFrame, size_t endFrame); | 134 void cacheInvalid(size_t startFrame, size_t endFrame); |
132 | 135 |
133 void fillTimerTimedOut(); | 136 void fillTimerTimedOut(); |
134 | 137 |
135 protected: | 138 protected: |
136 const DenseTimeValueModel *m_model; // I do not own this | 139 const DenseTimeValueModel *m_model; // I do not own this |
137 | 140 |
138 int m_channel; | 141 int m_channel; |
139 size_t m_windowSize; | 142 size_t m_windowSize; |
140 WindowType m_windowType; | 143 WindowType m_windowType; |
141 size_t m_windowOverlap; | 144 size_t m_windowOverlap; |
142 float m_gain; | 145 float m_gain; |
143 size_t m_maxFrequency; | 146 size_t m_maxFrequency; |
144 ColourScale m_colourScale; | 147 ColourScale m_colourScale; |
145 ColourScheme m_colourScheme; | 148 ColourScheme m_colourScheme; |
146 FrequencyScale m_frequencyScale; | 149 FrequencyScale m_frequencyScale; |
147 | 150 |
148 class CacheFillThread : public QThread | 151 class CacheFillThread : public QThread |
149 { | 152 { |
150 public: | 153 public: |