Mercurial > hg > svcore
comparison data/model/NoteModel.h @ 288:7b96b3bd4bae
* Fix #1757772 tempo, dynamic related plug-ins bug -- make auto-align
only auto-align if there is a unit involved
* Fix #1755366 text layer bug in retrieved session
* Fix input model selection in plugin parameter dialog (was being ignored)
* Use lighter background than the standard widget one for panes (assuming the
widget background is light but not white) -- similarly darker if dark
* Fix colour reference counting in loaded session in SingleColourLayer
* Reset overview pane colour when switching dark background on or off
author | Chris Cannam |
---|---|
date | Tue, 14 Aug 2007 13:58:53 +0000 |
parents | 9c85517ff0f5 |
children | 70a232b1f12a |
comparison
equal
deleted
inserted
replaced
287:557e00480279 | 288:7b96b3bd4bae |
---|---|
118 * given frame. Consequently this can be very slow (optimised | 118 * given frame. Consequently this can be very slow (optimised |
119 * data structures still to be done!). | 119 * data structures still to be done!). |
120 */ | 120 */ |
121 virtual PointList getPoints(long frame) const; | 121 virtual PointList getPoints(long frame) const; |
122 | 122 |
123 virtual QString toXmlString(QString indent = "", | 123 virtual void toXml(QTextStream &out, |
124 QString extraAttributes = "") const | 124 QString indent = "", |
125 QString extraAttributes = "") const | |
125 { | 126 { |
126 return SparseValueModel<Note>::toXmlString | 127 return SparseValueModel<Note>::toXml |
127 (indent, | 128 (out, |
129 indent, | |
128 QString("%1 valueQuantization=\"%2\"") | 130 QString("%1 valueQuantization=\"%2\"") |
129 .arg(extraAttributes).arg(m_valueQuantization)); | 131 .arg(extraAttributes).arg(m_valueQuantization)); |
130 } | 132 } |
131 | 133 |
132 protected: | 134 protected: |