Mercurial > hg > svgui
comparison layer/SpectrumLayer.h @ 1230:366ffdf719cd
Fix silly definition that prevented spectrum scale from appearing
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2017 21:17:59 +0000 |
parents | 4fe7a09be0fe |
children | 4d0ca1ab4cd0 |
comparison
equal
deleted
inserted
replaced
1229:491dd600570c | 1230:366ffdf719cd |
---|---|
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(LayerGeometryProvider *, bool, QPainter &) const { return 0; } | |
97 | |
98 virtual void toXml(QTextStream &stream, QString indent = "", | 96 virtual void toXml(QTextStream &stream, QString indent = "", |
99 QString extraAttributes = "") const; | 97 QString extraAttributes = "") const; |
100 | 98 |
101 protected slots: | 99 protected slots: |
102 void preferenceChanged(PropertyContainer::PropertyName name); | 100 void preferenceChanged(PropertyContainer::PropertyName name); |