Mercurial > hg > svgui
comparison layer/SpectrumLayer.h @ 607:5b72899d692b
Give a dedicated key to toggling the centre line, and move it out of the overlay level setting -- reducing number of overlay levels to 3. Introduce two distinct vertical scale types (so that we can hide the spectrogram colour scale part easily)
author | Chris Cannam |
---|---|
date | Mon, 30 Jan 2012 16:01:59 +0000 |
parents | 369a197737c7 |
children | 1d526ba11a24 |
comparison
equal
deleted
inserted
replaced
606:fbab21439115 | 607:5b72899d692b |
---|---|
91 WindowType getWindowType() const { return m_windowType; } | 91 WindowType getWindowType() const { return m_windowType; } |
92 | 92 |
93 void setShowPeaks(bool); | 93 void setShowPeaks(bool); |
94 bool getShowPeaks() const { return m_showPeaks; } | 94 bool getShowPeaks() const { return m_showPeaks; } |
95 | 95 |
96 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; } | |
97 | |
96 virtual void toXml(QTextStream &stream, QString indent = "", | 98 virtual void toXml(QTextStream &stream, QString indent = "", |
97 QString extraAttributes = "") const; | 99 QString extraAttributes = "") const; |
98 | 100 |
99 protected slots: | 101 protected slots: |
100 void preferenceChanged(PropertyContainer::PropertyName name); | 102 void preferenceChanged(PropertyContainer::PropertyName name); |