comparison layer/TextLayer.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 2e8194a30f40
children 1d526ba11a24
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
81 virtual int getCompletion(View *) const { return m_model->getCompletion(); } 81 virtual int getCompletion(View *) const { return m_model->getCompletion(); }
82 82
83 virtual bool getValueExtents(float &min, float &max, 83 virtual bool getValueExtents(float &min, float &max,
84 bool &logarithmic, QString &unit) const; 84 bool &logarithmic, QString &unit) const;
85 85
86 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; }
87
86 virtual void toXml(QTextStream &stream, QString indent = "", 88 virtual void toXml(QTextStream &stream, QString indent = "",
87 QString extraAttributes = "") const; 89 QString extraAttributes = "") const;
88 90
89 void setProperties(const QXmlAttributes &attributes); 91 void setProperties(const QXmlAttributes &attributes);
90 92